1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +02:00

cmd/antelope-api-healtcheck/main.go: exit with status 1 if srv.Run() fails.

This commit is contained in:
Henrik Hautakoski 2023-02-07 16:42:00 +01:00
parent 318d14f44b
commit 5bf880b0d0
No known key found for this signature in database
GPG key ID: 217490840C18A5D9

View file

@ -202,5 +202,6 @@ func main() {
// Run server
if err := srv.Run(); err != nil {
logger.Error("Server error", "error", err)
os.Exit(1)
}
}