sentry integration

This commit is contained in:
2020-04-29 12:20:22 +02:00
parent 17b492c0e1
commit ee63555dd8
2 changed files with 13 additions and 1 deletions

View File

@@ -20,4 +20,5 @@ mailchimp3==2.1.0
django-image-cropping==1.2.0
django-anymail[mailgun]==1.4
django-admin-view-permission==1.9
gunicorn==19.9.0
gunicorn==19.9.0
sentry-sdk==0.14.3

View File

@@ -1,6 +1,17 @@
# -*- coding: utf-8 -*-
import copy
import os
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
sentry_sdk.init(
dsn="https://460e310d034c49a794941e087c4fcc6e@o74423.ingest.sentry.io/1196285",
integrations=[DjangoIntegration()],
# If you wish to associate users to errors (assuming you are using
# django.contrib.auth) you may enable sending PII data.
send_default_pii=True
)
INSTALLED_ADDONS = [
# <INSTALLED_ADDONS> # Warning: text inside the INSTALLED_ADDONS tags is auto-generated. Manual changes will be overwritten.