From 450c72b47b7524b22382362da6d54cb8139ab7cb Mon Sep 17 00:00:00 2001
From: OttoMao <ottomao@gmail.com>
Date: Mon, 8 Jun 2015 09:45:22 +0800
Subject: [PATCH] fix a bug when there is an error with rule.js

---
 proxy.js | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/proxy.js b/proxy.js
index 3473e0e..e81edd5 100644
--- a/proxy.js
+++ b/proxy.js
@@ -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'