-
Notifications
You must be signed in to change notification settings - Fork 503
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
AioHttp failed_request_status_codes
#3535
Comments
12 tasks
szokeasaurusrex
added a commit
that referenced
this issue
Sep 20, 2024
`failed_request_status_codes` allows users to specify the status codes, whose corresponding `HTTPException` types, should be reported to Sentry. By default, these include 5xx statuses, which is a change from the previous default behavior, where no `HTTPException`s would be reported to Sentry. Closes #3535
szokeasaurusrex
added a commit
that referenced
this issue
Sep 20, 2024
`failed_request_status_codes` allows users to specify the status codes, whose corresponding `HTTPException` types, should be reported to Sentry. By default, these include 5xx statuses, which is a change from the previous default behavior, where no `HTTPException`s would be reported to Sentry. Closes #3535
szokeasaurusrex
added a commit
that referenced
this issue
Sep 20, 2024
`failed_request_status_codes` allows users to specify the status codes, whose corresponding `HTTPException` types, should be reported to Sentry. By default, these include 5xx statuses, which is a change from the previous default behavior, where no `HTTPException`s would be reported to Sentry. Closes #3535
szokeasaurusrex
added a commit
that referenced
this issue
Sep 23, 2024
`failed_request_status_codes` allows users to specify the status codes, whose corresponding `HTTPException` types, should be reported to Sentry. By default, these include 5xx statuses, which is a change from the previous default behavior, where no `HTTPException`s would be reported to Sentry. Closes #3535
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For AioHttp, the
failed_request_status_codes
will control whether responses of certain status codes should be reported to Sentry. Regardless of howfailed_request_status_codes
is set, we will always report any unhandled exceptions where the response status is unclear to Sentry (this includes all unhandled exceptions, besidesHTTPException
,asyncio.CancelledError
, andConnectionResetError
, which typically result in 500 errors, but are not guaranteed to).The text was updated successfully, but these errors were encountered: