From dc6679b35413fcb02069f54b10b0cfd6a2d8ea8e Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Tue, 15 Feb 2022 09:56:25 -0300 Subject: [PATCH] improve logging Co-authored-by: teor --- zebra-network/src/peer/handshake.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-network/src/peer/handshake.rs b/zebra-network/src/peer/handshake.rs index 8fe1bf0642a..e7107678cce 100644 --- a/zebra-network/src/peer/handshake.rs +++ b/zebra-network/src/peer/handshake.rs @@ -605,7 +605,7 @@ where .next() .await .ok_or(HandshakeError::ConnectionClosed)??; - debug!("ignoring non-version message from remote peer"); + debug!(?remote_msg, "ignoring non-version message from remote peer"); } } } @@ -733,7 +733,7 @@ where .next() .await .ok_or(HandshakeError::ConnectionClosed)??; - debug!("ignoring non-verack message from remote peer"); + debug!(?remote_msg, "ignoring non-verack message from remote peer"); } } }