use correct envvar for sentry environment
Alan Pearce alan@alanpearce.eu
Wed, 17 Apr 2024 21:29:58 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M cmd/server/server.go → 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")