Open wjdp opened 6 years ago
Are you using Zappa? Had the same issue, fix was...
"transport": "raven.transport.requests.RequestsHTTPTransport"
in your RAVEN_CONFIG.
In your zappa_settings.json
you want "app_function": "project.wsgi"
going to your Django wsgi.py
file.
And in wsgi.py
you want something like this:
import os
from django.core.wsgi import get_wsgi_application
from raven.middleware import Sentry
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
application = Sentry(get_wsgi_application())
@nickday I am indeed, I'll give the above a try, thanks!
Is this issue pretty new? I just realized sentry was not sending alerts.
Python: 3.6 Django: 2.0.5 Raven: 6.8.0
When running
manage.py raven test
I get the following.When raising a dummy exception in a view I see no sentry specific logs and get no events in Sentry.