Remove sentry enviornment variable

There will be only 1
This commit is contained in:
Jake Howard 2022-09-04 16:40:59 +01:00
parent e21d525259
commit d93bc2450d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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)