about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-17 21:29:58 +0200
committerAlan Pearce2024-04-17 22:11:34 +0200
commitc1d191576c80dada81671834539ed93ebcb63461 (patch)
treedce7eb5c0869f3394070aa088ac3c891e232fa44
parent176f1b2cc40963c82f67b586892c069a8e769aea (diff)
downloadwebsite-c1d191576c80dada81671834539ed93ebcb63461.tar.lz
website-c1d191576c80dada81671834539ed93ebcb63461.tar.zst
website-c1d191576c80dada81671834539ed93ebcb63461.zip
use correct envvar for sentry environment
-rw-r--r--cmd/server/server.go2
1 files changed, 1 insertions, 1 deletions
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")