summaryrefslogtreecommitdiff
path: root/rq/contrib/sentry.py
diff options
context:
space:
mode:
Diffstat (limited to 'rq/contrib/sentry.py')
-rw-r--r--rq/contrib/sentry.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rq/contrib/sentry.py b/rq/contrib/sentry.py
index edf0fe4..efb55b2 100644
--- a/rq/contrib/sentry.py
+++ b/rq/contrib/sentry.py
@@ -4,4 +4,5 @@ def register_sentry(sentry_dsn, **opts):
"""
import sentry_sdk
from sentry_sdk.integrations.rq import RqIntegration
+
sentry_sdk.init(sentry_dsn, integrations=[RqIntegration()], **opts)