Pass debug setting to sentry

This commit is contained in:
Georg Krause 2022-08-11 20:13:32 +02:00
commit d36a5099f3
No known key found for this signature in database
GPG key ID: 2970D504B2183D22

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),
send_default_pii=False,
environment="api",
debug=True
debug=env.bool("DEBUG", False),
)
"""