Log error stack traces

// FREEBIE
pull/749/head
lilia 10 years ago
parent 213dbdefd2
commit f6b35ffbfc

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

@ -107,6 +107,7 @@
var keyErrors = [];
_.each(errors, function(e) {
console.log(e);
console.log(e.stack);
if (e.error.name === 'OutgoingIdentityKeyError') {
keyErrors.push(e.error);
}

Loading…
Cancel
Save