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
|
@ -15,7 +15,7 @@
|
|||
window.PROTO_ROOT +
|
||||
') ' +
|
||||
(error && error.stack ? error.stack : error);
|
||||
console.log(text);
|
||||
window.log.error(text);
|
||||
throw error;
|
||||
}
|
||||
var protos = result.build('signalservice');
|
||||
|
@ -26,7 +26,7 @@
|
|||
' (root: ' +
|
||||
window.PROTO_ROOT +
|
||||
')';
|
||||
console.log(text);
|
||||
window.log.error(text);
|
||||
throw new Error(text);
|
||||
}
|
||||
for (var protoName in protos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue