-
Notifications
You must be signed in to change notification settings - Fork 554
Labels
Description
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.16.0
Steps to Reproduce
I created a test repo where the bug can be reproduced -> https://github.com/detoyz/sentry_falcon_asgi_bug . There are also details on how to setup project & reproduce the error.
However a small summary here:
- Install sentry-sdk 1.16.0
- Install falcon
- Init
falcon.asgi.App()
and try to use it via falcon-inspect-app - See error from sentry's falcon patching middleware
- Downgrade sentry sdk to 1.15.0
- Your
falcon.asgi.App()
andfalcon-inspect-app
are working as expected
Expected Result
By using sentry-sdk anywhere in the code it should not break during runtime because of any falcon.asgi.App()
isntances
Actual Result
Runtime errors while using falcon.asgi.App()
isntances with sentry-sdk client
TypeError: _patch_prepare_middleware.<locals>.sentry_patched_prepare_middleware() takes from 0 to 2 positional arguments but 3 were given
kammiii and TBoshoven