mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
net/channel: Prettyprint peer address.
This commit is contained in:
@@ -215,12 +215,12 @@ impl Channel {
|
||||
Ok(packet) => packet,
|
||||
Err(err) => {
|
||||
if Self::is_eof_error(err.clone()) {
|
||||
info!("Channel {} disconnected", self.address());
|
||||
info!("Channel {:?} disconnected", self.address());
|
||||
} else {
|
||||
error!("Read error on channel: {}", err);
|
||||
}
|
||||
debug!(target: "net",
|
||||
"Channel::receive_loop() stopping channel {}",
|
||||
"Channel::receive_loop() stopping channel {:?}",
|
||||
self.address()
|
||||
);
|
||||
self.stop().await;
|
||||
|
||||
Reference in New Issue
Block a user