We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sync_capable
SentryWrappingMiddleware
1 parent 0fb04be commit 1f19214Copy full SHA for 1f19214
sentry_sdk/integrations/django/middleware.py
@@ -125,6 +125,7 @@ def sentry_wrapped_method(*args, **kwargs):
125
class SentryWrappingMiddleware(
126
_asgi_middleware_mixin_factory(_check_middleware_span) # type: ignore
127
):
128
+ sync_capable = getattr(middleware, "sync_capable", True)
129
async_capable = DJANGO_SUPPORTS_ASYNC_MIDDLEWARE and getattr(
130
middleware, "async_capable", False
131
)
0 commit comments