Skip to content

Commit 97c0d1a

Browse files
krrprrsangaman
authored andcommitted
feat(peer): log pubkey on retry connect (#1144)
1 parent e73ec4b commit 97c0d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/p2p/Peer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ class Peer extends EventEmitter {
512512
}
513513

514514
this.logger.debug(
515-
`Connection attempt #${retries + 1} to peer (${addressUtils.toString(this.address)}) ` +
515+
`Connection attempt #${retries + 1} to peer ${this.expectedNodePubKey}@${addressUtils.toString(this.address)} ` +
516516
`failed: ${err.message}. retrying in ${retryDelay / 1000} sec...`,
517517
);
518518

0 commit comments

Comments
 (0)