Pass debug setting to sentry

This commit is contained in:
Georg Krause 2022-08-11 20:13:32 +02:00
parent 879460adaf
commit d36a5099f3
No known key found for this signature in database
GPG Key ID: 2970D504B2183D22
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if env("FUNKWHALE_SENTRY_DSN", default=None) is not None:
traces_sample_rate=env("FUNKWHALE_SENTRY_SR", default=0.25), traces_sample_rate=env("FUNKWHALE_SENTRY_SR", default=0.25),
send_default_pii=False, send_default_pii=False,
environment="api", environment="api",
debug=True debug=env.bool("DEBUG", False),
) )
""" """