Log more errors

// FREEBIE
pull/749/head
lilia 10 years ago
parent 36ec4300cf
commit 37998e261d

@ -116,6 +116,7 @@
function onError(ev) { function onError(ev) {
var e = ev.error; var e = ev.error;
console.log(e);
if (e.name === 'HTTPError' && (e.code == 401 || e.code == 403)) { if (e.name === 'HTTPError' && (e.code == 401 || e.code == 403)) {
extension.install(); extension.install();
@ -147,7 +148,6 @@
}); });
} }
console.error(e);
throw e; throw e;
} }

Loading…
Cancel
Save