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 => {
|
return promise.then(result => {
|
||||||
callback({result});
|
callback({result});
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
/* eslint-disable */
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
/* eslint-enable */
|
||||||
callback({error});
|
callback({error});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user