-
Notifications
You must be signed in to change notification settings - Fork 514
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
Add support for djongo #2438
Comments
@InterstellarStella Looking at the stacktrace it seems like they're on a slightly older Python SDK version. Upgrading to 1.32.0 might help because we're now a bit more careful about accessing the params: https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/django/__init__.py#L668-L673 |
@sentrivana I went to the place you highlighted in the code and updated that part to immediately go to the else block. It is working great. For now we need to update it locally for everyone in the team until you guys find a solution. Thank you for your help @InterstellarStella @sentrivana. |
Hey @omarsagheer, thanks for the follow up! Just to clarify, you're on SDK version 1.32.0 and it still required the patch you mentioned? |
hello @sentrivana yes I updated and tried, same issue, still needed to manually update that part I mentioned. |
Thanks! We'll look into fixing that in the next release. |
Great! Thank you for your time and effort. |
Problem Statement
It looks like when we add Sentry to a Django application with MongoDB, Djongo seems to be monkeypatching the connection object that we rely on, causing the django integration to break. The error thrown is:
Solution Brainstorm
We should add support for Djongo so that adding Sentry's Django SDK works without any issues.
The text was updated successfully, but these errors were encountered: