You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Latest Sentry SDK 1.31.1 not compatible with latest Quart 0.19.2 #2406
changed the title [-]Latest Sentry 1.31.1 not compatible with latest Quart 0.19.2[/-][+]Latest Sentry SDK 1.31.1 not compatible with latest Quart 0.19.2[/+]on Oct 3, 2023
Hey @larsblumberg, thanks for reporting this! It seems someone has already opened a PR for this, I'll block some time to give it a look in the coming week.
I have the solution
pip install --upgrade 'sentry-sdk[flask]' # Quart is supported by the Flask SDK so..
import sentry_sdk
from quart import Quart
from sentry_sdk.integrations.flask import FlaskIntegration
Hey all, support for Quart>=0.19 will be out with the next release in a couple of weeks. Thanks to Quart's maintainer @pgjones for making our integration compatible with the newest Quart!
Activity
[-]Latest Sentry 1.31.1 not compatible with latest Quart 0.19.2[/-][+]Latest Sentry SDK 1.31.1 not compatible with latest Quart 0.19.2[/+]sentrivana commentedon Oct 3, 2023
Hey @larsblumberg, thanks for reporting this! It seems someone has already opened a PR for this, I'll block some time to give it a look in the coming week.
catwell commentedon Oct 12, 2023
For what it's worth that someone is the author of Quart :)
rubiali commentedon Oct 13, 2023
I have the solution
pip install --upgrade 'sentry-sdk[flask]' # Quart is supported by the Flask SDK so..
import sentry_sdk
from quart import Quart
from sentry_sdk.integrations.flask import FlaskIntegration
sentry_sdk.init(
dsn="YOUR_SENTRY_DSN",
integrations=[FlaskIntegration()],
)
app = Quart(name)
obs: in integrations you utilize FlaskIntegration(), that's worked for me
sentrivana commentedon Oct 13, 2023
Hey all, support for Quart>=0.19 will be out with the next release in a couple of weeks. Thanks to Quart's maintainer @pgjones for making our integration compatible with the newest Quart!