Ignore ECONNRESET in driver-tcp-node

This commit is contained in:
Tony Garnock-Jones 2018-11-20 19:47:55 +00:00
parent 7e77915a6b
commit c771abbf2e
1 changed files with 3 additions and 1 deletions

View File

@ -98,7 +98,9 @@ function _connectionCommon(rootFacet, id, socket, established) {
react assert TcpRejected(id, err);
} else {
// Post-establishment error
console.error(err);
if (err.errno !== 'ECONNRESET') {
console.error(err);
}
rootFacet.stop();
}
}));