fully remove raven and switch WSGI and logging to sentry_sdk

This commit is contained in:
Jens Langhammer
2019-04-05 16:11:53 +02:00
parent 660972e303
commit eaa573c715
6 changed files with 12 additions and 10 deletions

View File

@ -10,8 +10,8 @@ https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
import os
from django.core.wsgi import get_wsgi_application
from raven.contrib.django.raven_compat.middleware.wsgi import Sentry
from sentry_sdk.integrations.wsgi import SentryWsgiMiddleware
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'passbook.settings')
application = Sentry(get_wsgi_application())
application = SentryWsgiMiddleware(get_wsgi_application())