diff --git a/server/config.go b/server/config.go index 9fcdfa3..502dc2b 100644 --- a/server/config.go +++ b/server/config.go @@ -185,7 +185,8 @@ func confEnv(key string) string { if v, ok := os.LookupEnv(key); ok { return v } else { - panic(fmt.Sprintf("Missing required environment variable '%s'", key)) + log.Fatal().Msg(fmt.Sprintf("Missing required environment variable '%s'", key)) + return "" } }