summaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-15 12:03:27 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-15 12:03:27 -0800
commit0c88d3fa273667d30be3ae8e1ee8da527561aa9e (patch)
tree01335bc9097c453d5105ca490e403d6131019be1 /ext/bg/js/util.js
parenta5aff370e4b514218b4984de270ee8e082a5c333 (diff)
allow console log in one place
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r--ext/bg/js/util.js2
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});
});
}