Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sentry_sdk/tracing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,9 @@ def from_options(cls, scope):
third_party_items = ""
mutable = False

client = sentry_sdk.Hub.current.client
client = sentry_sdk.get_client()

if client is None or scope._propagation_context is None:
if not client.is_active() or scope._propagation_context is None:
return Baggage(sentry_items)

options = client.options
Expand Down