diff --git a/cmd/account-server/main.go b/cmd/account-server/main.go index 16f5d99..122511a 100644 --- a/cmd/account-server/main.go +++ b/cmd/account-server/main.go @@ -81,6 +81,7 @@ func main() { go func() { if err := accountServer.Run(mainContext, os.Getenv("NATS_URL"), os.Getenv("NATS_CREDS_FILE")); err != nil { setupLog.Error(err, "Failed to run accountserver") + os.Exit(1) } }()