More helpful error logging
This commit is contained in:
parent
9effa85e40
commit
c51773ab0e
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@
|
|||
extension.trigger('message', message); // notify frontend listeners
|
||||
});
|
||||
} else {
|
||||
errors.map(function(e) {
|
||||
if (e.error && e.error.stack) {
|
||||
console.log(e.error && e.error.stack);
|
||||
}
|
||||
});
|
||||
throw errors;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue