-Ugh this should be fixed now
This commit is contained in:
Sonny 2020-06-29 21:06:38 +02:00
parent 2254f22023
commit 04043fbe98

View file

@ -53,14 +53,12 @@ REGISTRATION_OPEN = False
# Optionally use sentry integration # Optionally use sentry integration
try: try:
from sentry_sdk import init as sentry_init from sentry_sdk import init as sentry_init
from sentry_sdk import integrations from sentry_sdk.integrations.celery import CeleryIntegration
from sentry_sdk.integrations.django import DjangoIntegration
sentry_init( sentry_init(
dsn=os.environ.get("SENTRY_DSN"), dsn=os.environ.get("SENTRY_DSN"),
integrations=[ integrations=[DjangoIntegration(), CeleryIntegration()],
integrations.django.DjangoIntegration(),
integration.celery.CeleryIntegration(),
],
send_default_pii=False, send_default_pii=False,
) )
except ImportError: except ImportError: