Skip to content

Commit

Permalink
Resolve new lint from Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrainer committed Sep 9, 2024
1 parent fbf522d commit d00ee33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/command/dev/protocol/leader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit d00ee33

Please sign in to comment.