This commit is contained in:
OttoMao
2015-07-22 13:26:33 +08:00

View File

@@ -160,7 +160,7 @@ function proxyServer(option){
});
process.on("uncaughtException",function(err){
logUtil.printLog('Caught exception: ' + err, logUtil.T_ERR);
logUtil.printLog('Caught exception: ' + (err.stack || err), logUtil.T_ERR);
process.exit();
});