0.2.3.9
-Ugh this should be fixed now
This commit is contained in:
parent
2254f22023
commit
04043fbe98
1 changed files with 3 additions and 5 deletions
|
|
@ -53,14 +53,12 @@ REGISTRATION_OPEN = False
|
|||
# Optionally use sentry integration
|
||||
try:
|
||||
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(
|
||||
dsn=os.environ.get("SENTRY_DSN"),
|
||||
integrations=[
|
||||
integrations.django.DjangoIntegration(),
|
||||
integration.celery.CeleryIntegration(),
|
||||
],
|
||||
integrations=[DjangoIntegration(), CeleryIntegration()],
|
||||
send_default_pii=False,
|
||||
)
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue