Skip to content

Commit 668fb74

Browse files
committed
fix: Capture trace for wsgi requests
1 parent cb54a34 commit 668fb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/wsgi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __call__(self, environ, start_response):
8484
scope._name = "wsgi"
8585
scope.add_event_processor(_make_wsgi_event_processor(environ))
8686

87-
with hub.span(Span.continue_from_environ(environ)):
87+
with hub.trace(Span.continue_from_environ(environ)):
8888
try:
8989
rv = self.app(environ, start_response)
9090
except BaseException:

0 commit comments

Comments
 (0)