mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
cmd/antelope-api-healtcheck/main.go: Minor fix.
This commit is contained in:
parent
755438408b
commit
fba9402584
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue