Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/platforms/python/integrations/fastapi/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ You can pass the following keyword arguments to `StarletteIntegration()` and `Fa

A `set` of integers that will determine which status codes should be reported to Sentry.

The `failed_request_status_codes` option only controls whether [`HTTPException`](https://fastapi.tiangolo.com/reference/exceptions/?h=httpexception) exceptions should be
reported to Sentry. Other unhandled exceptions, which do not have a `status_code` attribute, are always reported to Sentry.

Examples of valid `failed_request_status_codes`:

- `{500}` will only send events on HTTP 500.
Expand Down
3 changes: 3 additions & 0 deletions docs/platforms/python/integrations/starlette/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ You can pass the following keyword arguments to `StarletteIntegration()`:

A `set` of integers that will determine which status codes should be reported to Sentry.

The `failed_request_status_codes` option only controls whether [`HTTPException`](https://www.starlette.io/exceptions/#httpexception) exceptions should be
reported to Sentry. Other unhandled exceptions, which do not have a `status_code` attribute, are always reported to Sentry.

Examples of valid `failed_request_status_codes`:

- `{500}` will only send events on HTTP 500.
Expand Down
Loading