update error display

This commit is contained in:
加里 2014-11-14 10:11:57 +08:00
parent 4f522c1a5c
commit 00faa677e7

View File

@ -307,7 +307,7 @@ function connectReqHandler(req, socket, head){
}); });
conn.on("error",function(e){ 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){ }catch(e){
console.log("err when connect to remote https server (__host)".replace(/__host/,host)); console.log("err when connect to remote https server (__host)".replace(/__host/,host));