Log more errors

// FREEBIE
This commit is contained in:
lilia 2015-09-16 14:41:20 -07:00
parent 36ec4300cf
commit 37998e261d

View file

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