Description
How do you use Sentry?
Self-hosted/on-premise
Version
2.13
Steps to Reproduce
Original issue raised in my repository
- Use any standard Django distribution that supports Async (Django >=3.2+)
- Install Sentry SDK Middleware
- Install ServeStatic Middleware
Expected Result
Sentry SDK should wrap async middleware and forward an async get_response
function.
Actual Result
Sentry SDK wraps async middleware but forwards a synchronous get_response
function. This breaks any async-only middleware that is being wrapped, including ServeStatic.
The exception output can be seen on the original issue raised by @kefonseca: Archmonger/ServeStatic#25 (comment)
Metadata
Metadata
Assignees
Type
Projects
Status
No status