Skip to content

Commit

Permalink
Exit when accountserver fails
Browse files Browse the repository at this point in the history
  • Loading branch information
martin31821 committed Sep 4, 2024
1 parent e3eba4a commit 8f3f461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/account-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}()

Expand Down

0 comments on commit 8f3f461

Please sign in to comment.