Skip to content

Commit

Permalink
fix: reconnect log message (#1260)
Browse files Browse the repository at this point in the history
This adds a space between the peer's label and the word "failed" in
the logging output.
  • Loading branch information
sangaman authored and kilrau committed Oct 1, 2019
1 parent 876c803 commit 8034c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/p2p/Peer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ class Peer extends EventEmitter {
}

this.logger.debug(
`Connection attempt #${retries + 1} to ${this.label}` +
`Connection attempt #${retries + 1} to ${this.label} ` +
`failed: ${err.message}. retrying in ${retryDelay / 1000} sec...`,
);

Expand Down

0 comments on commit 8034c6c

Please sign in to comment.