From c1d191576c80dada81671834539ed93ebcb63461 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 17 Apr 2024 21:29:58 +0200 Subject: use correct envvar for sentry environment --- cmd/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/server/server.go b/cmd/server/server.go index 1af6fdf..7665143 100644 --- a/cmd/server/server.go +++ b/cmd/server/server.go @@ -35,7 +35,7 @@ func main() { err := sentry.Init(sentry.ClientOptions{ Dsn: os.Getenv("SENTRY_DSN"), Release: os.Getenv("FLY_MACHINE_VERSION"), - Environment: os.Getenv("ENVIRONMENT"), + Environment: os.Getenv("ENV"), }) if err != nil { log.Panic("could not set up sentry") -- cgit 1.4.1