-
Notifications
You must be signed in to change notification settings - Fork 543
Starlette fails with Uvicorn when instrumented with Sentry (2.0.0) #3021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @jonathanberthias! Looks like the culprit is the Preparing a PR to get rid of the decorator for the time being. |
Possibly related: #2892 |
Rolling out 2.0.1 with a fix soon. Thanks again for letting us know! |
Thanks a lot for the quick reaction! |
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.0.0
Steps to Reproduce
Small reproducer:
Using latest version of everything. Output from
pip freeze
:Expected Result
The only issue should be that the scope, receive and send callables aren't valid.
Actual Result
The issue seems to be that the function which replaces
Starlette.__init__
isn't handled the same way as the original.The issue disappears (or rather is completely different) when I remove
sentry_sdk.__init__
.The text was updated successfully, but these errors were encountered: