fix(p2p): ignore errors on conn

This commit is contained in:
Alexey Kasyanchuk 2018-02-18 01:41:54 +03:00
parent fecea0d491
commit 64ab97127a

View File

@ -1111,6 +1111,8 @@ const p2p = {
send('peer', this.peers.length) send('peer', this.peers.length)
} }
}) })
socket.on('error', (err) => {})
}, },
emit(type, data, callback) emit(type, data, callback)
{ {