Skip to content

Commit 634add0

Browse files
committed
debug logging connection
1 parent 4425620 commit 634add0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,14 @@ impl Node {
995995

996996
// We need to use our main runtime here as a local runtime might not be around to poll
997997
// connection futures going forward.
998+
999+
log_info!(
1000+
self.logger,
1001+
"Attempt connection to peer {}@{}..",
1002+
peer_info.node_id,
1003+
peer_info.address
1004+
);
1005+
9981006
self.runtime.block_on(async move {
9991007
con_cm.connect_peer_if_necessary(con_node_id, con_addr).await
10001008
})?;

0 commit comments

Comments
 (0)