diff --git a/proxy.js b/proxy.js index ce74f7a..9b6aae0 100644 --- a/proxy.js +++ b/proxy.js @@ -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(); });