diff --git a/lib/rules/index.js b/lib/rules/index.js
index <HASH>..<HASH> 100644
--- a/lib/rules/index.js
+++ b/lib/rules/index.js
@@ -1,6 +1,7 @@
 var Pac = require('node-pac');
 var Rules = require('./rules');
 var util = require('../util');
+var logger = require('../util/logger');
 var rules = new Rules();
 var pacRules = new Rules();
 var cachedPacs = {};
@@ -64,6 +65,7 @@ function getProxy(url, req, callback) {
       }
     }
     callback();
+    logger.error(err);
   });
 }
chore: Log the error of finding proxy from pac