mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 07:23:46 +00:00
p2p/simulations/examples: Log errors
Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
parent
be95e9ecb3
commit
b56a7fb5ef
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,9 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Info("starting simulation server on 0.0.0.0:8888...")
|
log.Info("starting simulation server on 0.0.0.0:8888...")
|
||||||
http.ListenAndServe(":8888", simulations.NewServer(config))
|
if err := http.ListenAndServe(":8888", simulations.NewServer(config)); err != nil {
|
||||||
|
log.Crit("error starting simulation server", "err", err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// pingPongService runs a ping-pong protocol between nodes where each node
|
// pingPongService runs a ping-pong protocol between nodes where each node
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue