Remove sentry enviornment variable
There will be only 1
This commit is contained in:
parent
e21d525259
commit
d93bc2450d
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue