diff --git a/opentech/settings/production.py b/opentech/settings/production.py index d73af0fdaedc715b92b116b2d556e4da1e1c3e37..1c4a980951b00ae54b20a33ead879e7bc50123b1 100644 --- a/opentech/settings/production.py +++ b/opentech/settings/production.py @@ -27,10 +27,11 @@ if 'MAILGUN_API_KEY' in env: if 'SENTRY_DSN' in env: import sentry_sdk from sentry_sdk.integrations.django import DjangoIntegration + from sentry_sdk.integrations.celery import CeleryIntegration sentry_sdk.init( dsn=env['SENTRY_DSN'], environment=env.get('SENTRY_ENVIRONMENT', None), - integrations=[DjangoIntegration()] + integrations=[DjangoIntegration(), CeleryIntegration()] ) # Heroku configuration.