fully remove raven and switch WSGI and logging to sentry_sdk
This commit is contained in:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user