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 }}
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
Getting this on AWS Lambda with Python 3.6 runtime:
Traceback (most recent call last):
File "/var/task/hsreplaynet/utils/instrumentation.py", line 112, in wrapper
if sentry:
File "/var/task/raven/contrib/django/models.py", line 69, in <lambda>
__len__ = lambda x: len(get_client())
TypeError: object of type 'DjangoClient' has no len()
That if sentry is doing a bool() on a raven.contrib.django.raven_compat.models.client object. This works fine on 2.7, not on 3.6 which calls __len__ when defined (and it is defined here).