diff --git a/cmd/antelope-api-healtcheck/main.go b/cmd/antelope-api-healtcheck/main.go index f6fa811..fdbd2a6 100644 --- a/cmd/antelope-api-healtcheck/main.go +++ b/cmd/antelope-api-healtcheck/main.go @@ -189,8 +189,7 @@ func main() { go signalEventLoop() // Run server - err := srv.Run() - if err != nil { + if err := srv.Run(); err != nil { logger.Error("Server failed to shutdown", "message", err) } }