diff --git a/lib/requestHandler.js b/lib/requestHandler.js index 03e6640..f8d1ee0 100644 --- a/lib/requestHandler.js +++ b/lib/requestHandler.js @@ -307,7 +307,7 @@ function connectReqHandler(req, socket, head){ }); conn.on("error",function(e){ - console.log("err when connect to __host".replace(/__host/,host)); + console.log("err when connect to %j, %j" , host , e); }); }catch(e){ console.log("err when connect to remote https server (__host)".replace(/__host/,host));