Skip to content

Commit 10baf73

Browse files
committed
pypy
1 parent 8c201ff commit 10baf73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/integrations/logging.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def _python_level_to_otel(record_level):
321321
]:
322322
if max(record_level, 0) >= py_level:
323323
return otel_severity_number, otel_severity_text
324+
raise AssertionError("this shouldn't happen")
324325

325326

326327
class SentryLogsHandler(_BaseHandler):

0 commit comments

Comments
 (0)