From c4da31505e61ec52617dd1acabf095f5dc4466c6 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Thu, 28 Mar 2019 13:14:55 +0200 Subject: [PATCH] The end of the dispatchMessages loop is not really an error --- eth/p2p/rlpx.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eth/p2p/rlpx.nim b/eth/p2p/rlpx.nim index da0a697..27fb63e 100644 --- a/eth/p2p/rlpx.nim +++ b/eth/p2p/rlpx.nim @@ -1223,7 +1223,8 @@ proc postHelloSteps(peer: Peer, h: devp2p.hello) {.async.} = messageProcessingLoop.callback = proc(p: pointer) {.gcsafe.} = if messageProcessingLoop.failed: - error "dispatchMessages failed", err = messageProcessingLoop.error.msg + debug "Ending dispatchMessages loop", peer, + err = messageProcessingLoop.error.msg asyncDiscard peer.disconnect(ClientQuitting) # The handshake may involve multiple async steps, so we wait