Skip to content

Commit

Permalink
Added Peer's grpc_url in error log for easy identification.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkcs8 committed Aug 31, 2022
1 parent 10eea21 commit 4b31648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processors/peersync/PollService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PollService {
})
.on('error', (error: any) => {
delete this._manager.connections[this._peer.node_id]
logger.error(LOGPREFIX, `${this._peer.node_id} ${error}`)
logger.error(LOGPREFIX, `${this._peer.node_id} ${this._peer.grpc_url} ${error}`)
})
}

Expand Down

0 comments on commit 4b31648

Please sign in to comment.