Log more errors
// FREEBIE
This commit is contained in:
parent
36ec4300cf
commit
37998e261d
1 changed files with 1 additions and 1 deletions
|
@ -116,6 +116,7 @@
|
|||
|
||||
function onError(ev) {
|
||||
var e = ev.error;
|
||||
console.log(e);
|
||||
|
||||
if (e.name === 'HTTPError' && (e.code == 401 || e.code == 403)) {
|
||||
extension.install();
|
||||
|
@ -147,7 +148,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
console.error(e);
|
||||
throw e;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue