diff --git a/src/command/dev/protocol/leader.rs b/src/command/dev/protocol/leader.rs
index 32b4ea36c5..d4e2ae6e35 100644
--- a/src/command/dev/protocol/leader.rs
+++ b/src/command/dev/protocol/leader.rs
@@ -388,9 +388,8 @@ impl LeaderSession {
         stream: &mut BufReader<interprocess::local_socket::Stream>,
     ) -> RoverResult<FollowerMessage> {
         socket_read(stream)
-            .map(|message| {
+            .inspect(|message| {
                 tracing::debug!("leader received message {:?}", &message);
-                message
             })
             .map_err(|e| {
                 e.context("the main `rover dev` process did not receive a valid incoming message")