Skip to content

Commit 8e4e7ad

Browse files
antonpirkerlizokm
andauthored
Apply suggestions from code review
Co-authored-by: Liza Mock <[email protected]>
1 parent ad52cd4 commit 8e4e7ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/platforms/python/integrations/fastapi/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ You can pass the following keyword arguments to `StarletteIntegration()` and `Fa
134134

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

137-
The `failed_request_status_codes` option only controls whether [`HTTPException`](https://fastapi.tiangolo.com/reference/exceptions/?h=httpexception) exceptions should be
138-
reported to Sentry. Other unhandled exceptions, which do not have a `status_code` attribute, are always reported to Sentry.
137+
The `failed_request_status_codes` option determines whether [`HTTPException`](https://fastapi.tiangolo.com/reference/exceptions/?h=httpexception) exceptions should be
138+
reported to Sentry. Unhandled exceptions that don't have a `status_code` attribute will always be reported to Sentry.
139139

140140
Examples of valid `failed_request_status_codes`:
141141

docs/platforms/python/integrations/starlette/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ You can pass the following keyword arguments to `StarletteIntegration()`:
9191

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

94-
The `failed_request_status_codes` option only controls whether [`HTTPException`](https://www.starlette.io/exceptions/#httpexception) exceptions should be
95-
reported to Sentry. Other unhandled exceptions, which do not have a `status_code` attribute, are always reported to Sentry.
94+
The `failed_request_status_codes` option determines whether [`HTTPException`](https://www.starlette.io/exceptions/#httpexception) exceptions should be
95+
reported to Sentry. Unhandled exceptions that don't have a `status_code` attribute will always be reported to Sentry.
9696

9797
Examples of valid `failed_request_status_codes`:
9898

0 commit comments

Comments
 (0)