Skip to content

Commit 1423433

Browse files
.
1 parent bcaa51f commit 1423433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/tracing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ def _in_http_status_code_range(self, code, code_ranges):
989989
continue
990990
elif not isinstance(code, int):
991991
logger.warning(
992-
f"Invalid type for http.request.status_code; is {code!r} of type {type(code)}, expected an int."
992+
f"Invalid type for http.response.status_code; is {code!r} of type {type(code)}, expected an int."
993993
)
994994
continue
995995

@@ -999,7 +999,7 @@ def _in_http_status_code_range(self, code, code_ranges):
999999
except Exception:
10001000
if not isinstance(code, int):
10011001
logger.warning(
1002-
f"Invalid type for http.request.status_code; is {code!r} of type {type(code)}, expected an int."
1002+
f"Invalid type for http.response.status_code; is {code!r} of type {type(code)}, expected an int."
10031003
)
10041004
continue
10051005

0 commit comments

Comments
 (0)