-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[24.0] Adds logging of messageExceptions in the fastapi exception handler. #18041
[24.0] Adds logging of messageExceptions in the fastapi exception handler. #18041
Conversation
2046314
to
352c505
Compare
Test failure is legit -- |
Unfortunate to have wasted some time tracking down the same issues a year later. So... still draft? |
ebde4ec
to
7e55f70
Compare
@mvdbeek Sure, I'll rebase and retarget. |
We're intentionally not doing a full log.exception with the traceback here, though we could. This exception will also be dispatched to Sentry if configured, this just makes logs less opaque when one sees a 500.
7e55f70
to
4605bcc
Compare
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
4605bcc
to
e5c59e1
Compare
We're intentionally not doing a full log.exception with the traceback here, though we could. This exception will also be dispatched to Sentry if configured, this just makes logs less opaque when one sees a 500.
Ping @natefoo -- this will now show something like this, so you at least know what the error was from the logs.
How to test the changes?
(Select all options that apply)
License