From d93bc2450d21dd9cfa2b25e325eaf1f4e662b25d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 4 Sep 2022 16:40:59 +0100 Subject: [PATCH] Remove sentry enviornment variable There will be only 1 --- website/settings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/website/settings.py b/website/settings.py index ad661e9..90f3669 100644 --- a/website/settings.py +++ b/website/settings.py @@ -12,7 +12,6 @@ env = environ.Env( SPOTIFY_PROXY_HOST=(str, ""), SEO_INDEX=(bool, False), SENTRY_DSN=(str, ""), - SENTRY_ENVIRONMENT=(str, ""), ) # Read local secrets @@ -382,7 +381,4 @@ if sentry_dsn := env("SENTRY_DSN"): "release": get_default_release(), } - if sentry_environment := env("SENTRY_ENVIRONMENT"): - sentry_kwargs.update({"environment": sentry_environment}) - sentry_sdk.init(**sentry_kwargs)