Skip to content

Commit 7daa720

Browse files
committed
.
1 parent 72f0968 commit 7daa720

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ def start_streamed_span(
11821182
active: bool,
11831183
) -> "StreamedSpan":
11841184
# TODO: rename to start_span once we drop the old API
1185-
if not has_span_streaming_enabled(self.client.options):
1185+
if not has_span_streaming_enabled(sentry_sdk.get_client().options):
11861186
warnings.warn(
11871187
"Using span streaming API in non-span-streaming mode. Use "
11881188
"sentry_sdk.start_transaction() and sentry_sdk.start_span() "

0 commit comments

Comments
 (0)