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 4ee3667 commit 38f279bCopy full SHA for 38f279b
sentry_sdk/integrations/unleash.py
@@ -3,9 +3,12 @@
3
4
import sentry_sdk
5
from sentry_sdk.flag_utils import flag_error_processor
6
-from sentry_sdk.integrations import Integration
+from sentry_sdk.integrations import Integration, DidNotEnable
7
8
-from UnleashClient import UnleashClient
+try:
9
+ from UnleashClient import UnleashClient
10
+except ImportError:
11
+ raise DidNotEnable("UnleashClient is not installed")
12
13
if TYPE_CHECKING:
14
from typing import Any
0 commit comments