Add user information to sentry
This commit is contained in:
parent
002d53c5c5
commit
9139aa80b7
|
|
@ -324,7 +324,8 @@ if not DEBUG and os.environ.get('SENTRY_DSN'):
|
||||||
|
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=os.environ.get('SENTRY_DSN'),
|
dsn=os.environ.get('SENTRY_DSN'),
|
||||||
integrations=[DjangoIntegration()]
|
integrations=[DjangoIntegration()],
|
||||||
|
send_default_pii=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# LOGGING['handlers'] = {
|
# LOGGING['handlers'] = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue