log another socket error

This commit is contained in:
Roman Shtylman
2014-04-22 19:47:41 -04:00
parent 9e89e863a3
commit 5886cbe3d9

View File

@@ -106,6 +106,7 @@ var Proxy = function(opt, cb) {
// close will be emitted after this
socket.on('error', function(err) {
log.error(err);
socket.end();
});