Skip to content
Browse files

Less severe log message for p2p server connection

Use the Warning level reporting errors for incoming protocol
connections, also change the message to refer to the connection
to avoid perception that it is the internal error of the server.
  • Loading branch information...
mzabaluev committed Sep 11, 2019
1 parent 046b35b commit 41389d2f186672f6d9d2e183a6f650a3e2749f48
Showing with 3 additions and 3 deletions.
  1. +3 −3 jormungandr/src/network/grpc/
@@ -50,9 +50,9 @@ pub fn run_listen_socket(

let conn = server.serve(stream);
let conn_logger = fold_logger.clone();
conn.map_err(move |e| error!(conn_logger, "server error: {:?}", e)),
tokio::spawn(conn.map_err(move |e| {
warn!(conn_logger, "incoming P2P connection error: {:?}", e)


0 comments on commit 41389d2

Please sign in to comment.
You can’t perform that action at this time.