Add sentry rq integration

This commit is contained in:
Max Meinhold 2020-10-11 13:26:45 -04:00
parent b9bd1d4e14
commit c80b240497
No known key found for this signature in database
GPG key ID: 00B8B1017EEC103F
3 changed files with 14 additions and 2 deletions

9
rqsettings.py Normal file
View file

@ -0,0 +1,9 @@
import os
import sentry_sdk
from sentry_sdk.integrations.rq import RqIntegration
sentry_sdk.init(
os.environ.get('PROXSTAR_SENTRY_DSN'),
integrations=[RqIntegration()]
)