Use window.log in browser context, turn on console eslint rule
This commit is contained in:
parent
4320b125dd
commit
5933a34a18
71 changed files with 816 additions and 559 deletions
|
@ -17,7 +17,7 @@
|
|||
' task did not complete in time. Calling stack: ' +
|
||||
errorForStack.stack;
|
||||
|
||||
console.log(message);
|
||||
window.log.error(message);
|
||||
return reject(new Error(message));
|
||||
}
|
||||
}.bind(this),
|
||||
|
@ -31,7 +31,7 @@
|
|||
clearTimeout(localTimer);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(
|
||||
window.log.error(
|
||||
id || '',
|
||||
'task ran into problem canceling timer. Calling stack:',
|
||||
errorForStack.stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue