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
When utilizing Sentry within a Django project, the integration seems to cause the function _setup() of a LazyObject to run multiple times when an exception is thrown within the method.
1Traceback (most recent call last): File "/path/foo.py", line 22, in <module> len(foo) File "/path/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 251, in inner self._setup() File "/path/foo.py", line 18, in _setup raise ValueError(count)ValueError: 1
Actual Result
123Traceback (most recent call last): File "/path/foo.py", line 22, in <module> len(foo) File "/path/.venv/lib/python3.10/site-packages/django/utils/functional.py", line 251, in inner self._setup() File "/path/foo.py", line 18, in _setup raise ValueError(count)ValueError: 1
The text was updated successfully, but these errors were encountered:
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.19.0
Steps to Reproduce
When utilizing Sentry within a Django project, the integration seems to cause the function
_setup()
of a LazyObject to run multiple times when an exception is thrown within the method.It doesn't matter if I enable the DjangoIntegration or not in the settings, the issue goes away when I remove the sdk init completely.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: