Add user information to sentry

This commit is contained in:
Ramon Wenger 2021-02-25 11:54:55 +01:00
parent 002d53c5c5
commit 9139aa80b7
1 changed files with 2 additions and 1 deletions

View File

@ -324,7 +324,8 @@ if not DEBUG and os.environ.get('SENTRY_DSN'):
sentry_sdk.init(
dsn=os.environ.get('SENTRY_DSN'),
integrations=[DjangoIntegration()]
integrations=[DjangoIntegration()],
send_default_pii=True
)
# LOGGING['handlers'] = {