Merge pull request #457 from ae-utbm/455-sentry-modal

Fixed some mess done on settings.py
This commit is contained in:
Théo DURR 2022-08-27 22:06:13 +02:00 committed by GitHub
commit 50e04164a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -680,6 +680,8 @@ if SENTRY_DSN:
sentry_sdk.init(
dsn=SENTRY_DSN,
integrations=[DjangoIntegration()],
traces_sample_rate=1.0,
send_default_pii=True,
environment=SENTRY_ENV,
)