Skip to content

Commit 2d4cb1e

Browse files
remaining reference
1 parent 23846df commit 2d4cb1e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sentry_sdk/integrations/django/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from sentry_sdk.traces import StreamedSpan
1313
from sentry_sdk.tracing_utils import (
1414
add_query_source,
15-
record_sql_queries_supporting_streaming,
15+
record_sql_queries,
1616
has_span_streaming_enabled,
1717
)
1818
from sentry_sdk.utils import (
@@ -639,7 +639,7 @@ def install_sql_hook() -> None:
639639
def execute(
640640
self: "CursorWrapper", sql: "Any", params: "Optional[Any]" = None
641641
) -> "Any":
642-
with record_sql_queries_supporting_streaming(
642+
with record_sql_queries(
643643
cursor=self.cursor,
644644
query=sql,
645645
params_list=params,
@@ -659,7 +659,7 @@ def execute(
659659
def executemany(
660660
self: "CursorWrapper", sql: "Any", param_list: "List[Any]"
661661
) -> "Any":
662-
with record_sql_queries_supporting_streaming(
662+
with record_sql_queries(
663663
cursor=self.cursor,
664664
query=sql,
665665
params_list=param_list,

0 commit comments

Comments
 (0)