We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38daa24 commit 0f877fbCopy full SHA for 0f877fb
1 file changed
sentry_sdk/integrations/django/__init__.py
@@ -459,11 +459,13 @@ def _attempt_resolve_again(
459
460
def _after_get_response(request: "WSGIRequest") -> None:
461
integration = sentry_sdk.get_client().get_integration(DjangoIntegration)
462
- if integration is None or integration.transaction_style != "url":
+ if integration is None:
463
return
464
465
scope = sentry_sdk.get_current_scope()
466
- _attempt_resolve_again(request, scope, integration.transaction_style)
+
467
+ if integration.transaction_style == "url":
468
+ _attempt_resolve_again(request, scope, integration.transaction_style)
469
470
span_streaming = has_span_streaming_enabled(sentry_sdk.get_client().options)
471
if span_streaming:
0 commit comments