Skip to content

Commit 155e9aa

Browse files
committed
Do not guess ASGI version in Quart integration
1 parent 78368b3 commit 155e9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/quart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ async def sentry_patched_asgi_app(self, scope, receive, send):
9595
middleware = SentryAsgiMiddleware(
9696
lambda *a, **kw: old_app(self, *a, **kw),
9797
span_origin=QuartIntegration.origin,
98+
asgi_version=3,
9899
)
99-
middleware.__call__ = middleware._run_asgi3
100100
return await middleware(scope, receive, send)
101101

102102
Quart.__call__ = sentry_patched_asgi_app

0 commit comments

Comments
 (0)