Skip to content

Commit 113519b

Browse files
one more log
1 parent bbe9c0d commit 113519b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

iroh-relay/src/server/clients.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ impl Clients {
4545

4646
let client = Client::new(client_config, self);
4747
if let Some(old_client) = self.0.clients.insert(node_id, client) {
48-
debug!("multiple connections found for {node_id:?}, pruning old connection",);
48+
debug!(
49+
remote_node = node_id.fmt_short(),
50+
"multiple connections found, pruning old connection",
51+
);
4952
old_client.shutdown().await;
5053
}
5154
}

0 commit comments

Comments
 (0)