Log error stack traces

// FREEBIE
This commit is contained in:
lilia 2015-09-23 12:21:20 -07:00
parent 213dbdefd2
commit f6b35ffbfc
2 changed files with 2 additions and 0 deletions

View file

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