Skip to content

Commit 1efdd0c

Browse files
Remove automatic initialization of unraisable hook
1 parent 5e8508f commit 1efdd0c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sentry_sdk/integrations/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from abc import ABC, abstractmethod
22
from threading import Lock
3-
import sys
43

54
from sentry_sdk.utils import logger
65

@@ -74,11 +73,6 @@ def iter_default_integrations(with_auto_enabling_integrations):
7473
"sentry_sdk.integrations.threading.ThreadingIntegration",
7574
]
7675

77-
if sys.version_info >= (3, 8):
78-
_DEFAULT_INTEGRATIONS.append(
79-
"sentry_sdk.integrations.unraisablehook.UnraisablehookIntegration"
80-
)
81-
8276
_AUTO_ENABLING_INTEGRATIONS = [
8377
"sentry_sdk.integrations.aiohttp.AioHttpIntegration",
8478
"sentry_sdk.integrations.anthropic.AnthropicIntegration",

0 commit comments

Comments
 (0)