Fix: errors only config flag (#3220)

fix bug with errors only flag
This commit is contained in:
Hubert Deng 2024-07-23 11:14:55 -07:00 committed by GitHub
parent 485d3ffd2f
commit fd2f9fa74c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -365,4 +365,4 @@ CSP_REPORT_ONLY = True
# CSRF_TRUSTED_ORIGINS = ["https://example.com", "http://127.0.0.1:9000"]
# If you would like to use self-hosted Sentry with only errors enabled, please set this
SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") == "feature-complete"
SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete"