Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#22: catch all downstream errors and log request body #23

Merged

Conversation

jcoeltjen
Copy link
Contributor

@jcoeltjen jcoeltjen commented Apr 21, 2024

rudimentary implementation of the feature described in #22 .
I tried to touch as little code as possible. Especially in the tests this creates some code duplication. As the other tests are structured the same way I did not want to introduce major changes there.

If wanted I can refactor this, but this would require larger changes to be done in any meaningful way.

Other than indicated in #22 this feature would be enabled by default. During my testing the implementation as is does not interfere with other common middlewares that catch exceptions (e.g. DeveloperExceptionPage).

@matthiasguentert matthiasguentert merged commit 500185b into matthiasguentert:main Apr 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants