From 0c88d3fa273667d30be3ae8e1ee8da527561aa9e Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 15 Jan 2017 12:03:27 -0800 Subject: [PATCH] allow console log in one place --- ext/bg/js/util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js index 504deeda..1e49e33c 100644 --- a/ext/bg/js/util.js +++ b/ext/bg/js/util.js @@ -43,7 +43,9 @@ function promiseCallback(promise, callback) { return promise.then(result => { callback({result}); }).catch(error => { + /* eslint-disable */ console.log(error); + /* eslint-enable */ callback({error}); }); }