Skip to content

Commit ffb1d2d

Browse files
simplify docstring
1 parent 9395202 commit ffb1d2d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sentry_sdk/consts.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,11 +1310,9 @@ def __init__(
13101310
not be sent to Sentry.
13111311
13121312
:param trace_ignore_status_codes: An optional property that disables tracing for
1313-
HTTP requests with certain response codes.
1313+
HTTP requests with certain status codes.
13141314
1315-
The option is a list, where elements are individual response codes, or inclusive
1316-
ranges of response codes. Requests are not traced if any code matches or
1317-
any provided range contains the response code.
1315+
Requests are not traced if the status code is contained in the provided set.
13181316
13191317
If `trace_ignore_status_codes` is not provided, requests with any status code
13201318
may be traced.

0 commit comments

Comments
 (0)