Skip to content
Snippets Groups Projects
Commit 08eece00 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Merge branch 'sentry-rq' into 'master'

Add Sentry RQ integration

Closes #864

See merge request !1510
parents cf45f1d6 1bcb62f1
No related branches found
No related tags found
1 merge request!1510Add Sentry RQ integration
......@@ -616,6 +616,7 @@ except ImportError:
if SENTRY_DSN and not DJANGO_SHELL:
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
from sentry_sdk.integrations.rq import RqIntegration
from sentry_sdk.integrations.logging import ignore_logger
ignore_logger('django.security.DisallowedHost')
......@@ -625,5 +626,8 @@ if SENTRY_DSN and not DJANGO_SHELL:
release=f'arkindex-backend@{VERSION}',
debug=DEBUG,
send_default_pii=True,
integrations=[DjangoIntegration()],
integrations=[
DjangoIntegration(),
RqIntegration(),
],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment