root: when error_reporting is enabled, don't sent pii data by default
This commit is contained in:
@ -275,11 +275,12 @@ if not DEBUG and _ERROR_REPORTING:
|
||||
sentry_init(
|
||||
dsn="https://33cdbcb23f8b436dbe0ee06847410b67@sentry.beryju.org/3",
|
||||
integrations=[DjangoIntegration(), CeleryIntegration()],
|
||||
send_default_pii=True,
|
||||
before_send=before_send,
|
||||
release="passbook@%s" % __version__,
|
||||
traces_sample_rate=1.0,
|
||||
environment=CONFIG.y("error_reporting.environment", "customer"),
|
||||
transaction_style="function_name",
|
||||
send_default_pii=CONFIG.y_bool("error_reporting.send_pii", False),
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user