fix: report failure when server fails to start (#23)
Exit with an error when the server startup reports an error. For example, when the server fails to bind to the provided port.
This commit is contained in:
parent
efa02e3c28
commit
04b84cc840
@ -85,7 +85,7 @@ func main() {
|
|||||||
log.Print("ready")
|
log.Print("ready")
|
||||||
|
|
||||||
err := <-svrErr
|
err := <-svrErr
|
||||||
log.Print(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user