Skip to content

Commit

Permalink
log zmq host unreachable at debug level, as we do elsewhere (#48082)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges authored Oct 9, 2024
1 parent f978dff commit 9bbaf40
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/connmgr/zhttpsocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2350,8 +2350,13 @@ impl ServerSocketManager {
}
// stream_out_send
Select10::R9(result) => {
if let Err(e) = result {
error!("server stream zmq send: {}", e);
match result {
Ok(()) => {}
Err(zmq::Error::EHOSTUNREACH) => {
// this can happen if a known peer goes away
debug!("server stream zmq send to host unreachable");
}
Err(e) => error!("server stream zmq send: {}", e),
}

stream_out_send = None;
Expand Down

0 comments on commit 9bbaf40

Please sign in to comment.