Skip to content

Commit 7997870

Browse files
.
1 parent 7eeab46 commit 7997870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def _in_http_status_code_range(self, code, code_ranges):
982982
wrong_type_message = "trace_ignore_status_codes must be a list of integers or pairs of integers."
983983
try:
984984
low, high = target
985-
if not isinstance(target[0], int) or not isinstance(target[1], int):
985+
if not isinstance(low, int) or not isinstance(high, int):
986986
logger.warning(wrong_type_message)
987987
continue
988988

0 commit comments

Comments
 (0)