diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-15 12:03:27 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-15 12:03:27 -0800 |
commit | 0c88d3fa273667d30be3ae8e1ee8da527561aa9e (patch) | |
tree | 01335bc9097c453d5105ca490e403d6131019be1 | |
parent | a5aff370e4b514218b4984de270ee8e082a5c333 (diff) |
allow console log in one place
-rw-r--r-- | ext/bg/js/util.js | 2 |
1 files changed, 2 insertions, 0 deletions
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}); }); } |