Show error message on unhandled errors instead of duplicating the stack
Not sure if this is correct in all cases
This commit is contained in:
parent
8e932ce73f
commit
ee5a62b9f4
|
@ -103,7 +103,7 @@
|
|||
// Ignore some errors during tests
|
||||
if (e.message && e.message.indexOf(' -- ignore') != -1) return;
|
||||
|
||||
self.debug('Possibly unhandled rejection:\n\n' + e.stack);
|
||||
self.debug('Possibly unhandled rejection:\n\n' + e.message);
|
||||
throw e;
|
||||
});
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user