fix a bug when there is an error with rule.js

This commit is contained in:
OttoMao 2015-06-08 09:45:22 +08:00
parent 283ffde6f9
commit 450c72b47b

View File

@ -49,12 +49,7 @@ try{
if(fs.existsSync(path.join(process.cwd(),'rule.js'))){
default_rule = require(path.join(process.cwd(),'rule'));
}
}catch(e){
if(e){
logUtil.printLog("error" + e, logUtil.T_ERR);
throw e;
}
}
}catch(e){}
//option
//option.type : 'http'(default) or 'https'