Skip to content

Commit 4e6a88b

Browse files
committed
fix: Ignore more urllib3 errors
Fix getsentry#788
1 parent 3b37cb5 commit 4e6a88b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sentry_sdk/integrations/logging.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
#
3131
# Note: Ignoring by logger name here is better than mucking with thread-locals.
3232
# We do not necessarily know whether thread-locals work 100% correctly in the user's environment.
33-
_IGNORED_LOGGERS = set(["sentry_sdk.errors", "urllib3.connectionpool"])
33+
_IGNORED_LOGGERS = set(
34+
["sentry_sdk.errors", "urllib3.connectionpool", "urllib3.connection"]
35+
)
3436

3537

3638
def ignore_logger(

0 commit comments

Comments
 (0)