We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f0968 commit 7daa720Copy full SHA for 7daa720
1 file changed
sentry_sdk/scope.py
@@ -1182,7 +1182,7 @@ def start_streamed_span(
1182
active: bool,
1183
) -> "StreamedSpan":
1184
# TODO: rename to start_span once we drop the old API
1185
- if not has_span_streaming_enabled(self.client.options):
+ if not has_span_streaming_enabled(sentry_sdk.get_client().options):
1186
warnings.warn(
1187
"Using span streaming API in non-span-streaming mode. Use "
1188
"sentry_sdk.start_transaction() and sentry_sdk.start_span() "
0 commit comments