mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
src/main.go: Log return from spawnTcpServer()
This commit is contained in:
parent
14d833e174
commit
b2c6589408
1 changed files with 4 additions and 0 deletions
|
|
@ -158,8 +158,12 @@ func main() {
|
|||
// Start listening to TCP Connections
|
||||
err := spawnTcpServer(addr)
|
||||
if err == nil {
|
||||
logger.Info("TCP Server started", "addr", addr)
|
||||
|
||||
// Run the signal event loop.
|
||||
signalEventLoop()
|
||||
} else {
|
||||
log.Error("Failed to start tcp server", "error", err)
|
||||
}
|
||||
|
||||
logger.Info("Shutdown")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue