Skip to content

Commit 1a35e02

Browse files
committed
.
1 parent a6b083b commit 1a35e02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/loguru.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ def loguru_sentry_logs_handler(message):
162162
record = message.record
163163

164164
if (
165-
LoguruIntegration.sentry_logs_level is not None
166-
and record["level"].no < LoguruIntegration.sentry_logs_level
165+
LoguruIntegration.sentry_logs_level is None
166+
or record["level"].no < LoguruIntegration.sentry_logs_level
167167
):
168168
return
169169

0 commit comments

Comments
 (0)