From b1f6e9e1db0239c22c057b2597b8f88b71cd896c Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 16 Nov 2021 17:42:50 +1100 Subject: [PATCH] Generalize logging for received messages --- daemon/src/connection.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/src/connection.rs b/daemon/src/connection.rs index 57bb3b8..5ce4448 100644 --- a/daemon/src/connection.rs +++ b/daemon/src/connection.rs @@ -136,9 +136,10 @@ impl Actor { } }; + tracing::trace!("Received '{}'", msg); + match msg { wire::MakerToTaker::Heartbeat => { - tracing::trace!("received a heartbeat message from maker"); self.connected_state .as_mut() .expect("wire messages only to arrive in connected state")