From 8eeb5f5947a63283a0a98e085718fe70885fad23 Mon Sep 17 00:00:00 2001 From: Simon Caminada Date: Sun, 3 May 2020 13:31:32 +0200 Subject: [PATCH] fix --- settings.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/settings.py b/settings.py index a186df3..1aef92a 100644 --- a/settings.py +++ b/settings.py @@ -4,6 +4,15 @@ 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 = [ # # Warning: text inside the INSTALLED_ADDONS tags is auto-generated. Manual changes will be overwritten. 'aldryn-addons', @@ -247,12 +256,3 @@ if not DEBUG: ] DATA_UPLOAD_MAX_MEMORY_SIZE = 1024 * 1024 * 1024 - -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 -)