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.
Hub
tracing_utils
1 parent 2cb2dca commit 9d97d93Copy full SHA for 9d97d93
sentry_sdk/tracing_utils.py
@@ -492,9 +492,9 @@ def from_options(cls, scope):
492
third_party_items = ""
493
mutable = False
494
495
- client = sentry_sdk.Hub.current.client
+ client = sentry_sdk.get_client()
496
497
- if client is None or scope._propagation_context is None:
+ if not client.is_active() or scope._propagation_context is None:
498
return Baggage(sentry_items)
499
500
options = client.options
0 commit comments