fix: report failure when server fails to start ()

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:
Hector 2022-09-18 21:26:22 +01:00
parent efa02e3c28
commit 04b84cc840

@ -85,7 +85,7 @@ func main() {
log.Print("ready")
err := <-svrErr
log.Print(err)
log.Fatal(err)
}
}