We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6285feb commit 3f5a5bbCopy full SHA for 3f5a5bb
sentry_sdk/tracing.py
@@ -1047,11 +1047,7 @@ def finish(
1047
super().finish(scope, end_timestamp)
1048
1049
status_code = self._data.get(SPANDATA.HTTP_STATUS_CODE)
1050
- if status_code is not None and not isinstance(status_code, int):
1051
- logger.warning(
1052
- f"Invalid type for http.response.status_code; is {status_code!r} of type {type(status_code)}, expected an int."
1053
- )
1054
- elif (
+ if (
1055
status_code is not None
1056
and status_code in client.options["trace_ignore_status_codes"]
1057
):
0 commit comments