Use window.log in browser context, turn on console eslint rule

This commit is contained in:
Scott Nonnenberg 2018-07-21 12:00:08 -07:00
parent 4320b125dd
commit 5933a34a18
71 changed files with 816 additions and 559 deletions

View file

@ -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