allow console log in one place
This commit is contained in:
parent
a5aff370e4
commit
0c88d3fa27
@ -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});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user