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:
parent
318d14f44b
commit
5bf880b0d0
1 changed files with 1 additions and 0 deletions
|
|
@ -202,5 +202,6 @@ func main() {
|
|||
// Run server
|
||||
if err := srv.Run(); err != nil {
|
||||
logger.Error("Server error", "error", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue