tweak logging
This commit is contained in:
parent
1091f9c3c2
commit
453ecb58bb
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class PeerServer extends EventEmitter {
|
|||
* @return {Promise<Peer|null>} A Promise that resolves to the resulting Peer connection, or null if the connection wasn't attemped.
|
||||
*/
|
||||
async __add_peer(address, port) {
|
||||
l.info(`Attempting to connect to ${address}:${port}`);
|
||||
l.debug(`Attempting to connect to ${address}:${port}`);
|
||||
|
||||
// If we're already connected, don't bother reconnecting again
|
||||
if(this.peers().some(el => el.address === address && el.port === port)) {
|
||||
|
|
Loading…
Reference in a new issue