Skip to content

Commit 9f59eb0

Browse files
committed
fix
1 parent 3602f86 commit 9f59eb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/traces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def make_db_query(sql):
595595
)
596596

597597
client = sentry_sdk.get_client()
598-
if not has_span_streaming_enabled(client):
598+
if not has_span_streaming_enabled(client.options):
599599
warnings.warn(
600600
"Using span streaming API in non-span-streaming mode. Use "
601601
"@sentry_sdk.trace instead.",

0 commit comments

Comments
 (0)