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 0824d42 commit 7066f69Copy full SHA for 7066f69
sentry_sdk/tracing_utils.py
@@ -115,7 +115,7 @@ def has_span_streaming_enabled(options):
115
if options is None:
116
return False
117
118
- return options.get("_experiments").get("trace_lifecycle") == "stream"
+ return (options.get("_experiments") or {}).get("trace_lifecycle") == "stream"
119
120
121
@contextlib.contextmanager
0 commit comments