Skip to content
Snippets Groups Projects
Commit 30fd7835 authored by Teemu Autto's avatar Teemu Autto
Browse files

Fix: use correct config key name for environment.

parent c5a88c6a
No related branches found
No related tags found
No related merge requests found
Pipeline #14601 passed
......@@ -76,7 +76,7 @@ def init_logging(app: Flask):
# Setup sentry logging
sentry_dsn = app.config.get("SENTRY_DSN")
release = app.config.get("CI_COMMIT_SHA", get_version() or "dev")
enviroment = app.config.get("CI_ENVIRONMENT_NAME")
enviroment = app.config.get("SENTRY_ENVIRONMENT", "production")
if sentry_dsn:
sentry = sentry_sdk.init(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment