Compare commits

2 Commits

Author SHA1 Message Date
Petr Šnobl
a5290f84f3 Merge branch 'standalone' into mprofiag
# Conflicts:
#	requirements.in
2020-04-29 18:12:10 +02:00
ee63555dd8 sentry integration 2020-04-29 12:20:22 +02:00
2 changed files with 13 additions and 0 deletions

View File

@@ -22,3 +22,5 @@ django-anymail[mailgun]==1.4
django-admin-view-permission==1.9
gunicorn==19.9.0
django-storages<1.9 # https://stackoverflow.com/questions/60297619/divio-importerror-cannot-import-name-s3boto
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.