mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
More helpful error logging
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user