mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
cmd/antelope-api-healtcheck/main.go: exit with status 1 if srv.Run() fails.
This commit is contained in:
parent
318d14f44b
commit
5bf880b0d0
1 changed files with 1 additions and 0 deletions
|
|
@ -202,5 +202,6 @@ func main() {
|
||||||
// Run server
|
// Run server
|
||||||
if err := srv.Run(); err != nil {
|
if err := srv.Run(); err != nil {
|
||||||
logger.Error("Server error", "error", err)
|
logger.Error("Server error", "error", err)
|
||||||
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue