Skip to content

Docs: Expand example HTTP Client code to show proper error handling structure #194

@kevin--

Description

@kevin--

I just wrapped the standard example code in a try {} catch {} and was faced with a crash whenever an exception was thrown, because the http::client was deallocated by the stack unwind.
Put a note or something that the client should be outside the scope of the try/catch

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions