Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
sentry: Allow setting DSN via environment.
Alex Vandiveraf046df3be52
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex 26fd987416d..3b9ae0e2005 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -1125,6 +1125,8 @@ THUMBOR_KEY = get_secret('thumbor_key')TWO_FACTOR_PATCH_ADMIN = False+# Allow the environment to override the default DSN+SENTRY_DSN = os.environ.get("SENTRY_DSN", SENTRY_DSN)if SENTRY_DSN:from .sentry import setup_sentrysetup_sentry(SENTRY_DSN)