swift-openapi-generator icon indicating copy to clipboard operation
swift-openapi-generator copied to clipboard

Attach more context information to errors thrown in middlewares

Open czechboy0 opened this issue 2 years ago • 0 comments

Currently, when errors are thrown in a transport, we attach as much context as we have at that point (the Input value, operationId, etc). But when an error is thrown in a middleware, we don't attach some info that we could, so let's fix that. Will make debugging errors thrown by middlewares quicker, if all the right context is already attached and logged.

czechboy0 avatar May 25 '23 08:05 czechboy0