commit ee5a62b9f4dbb2ece6912177174440a17db40f2e
parent 8e932ce73fce0b72be445f98cf75dcf52ee6f6de
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 15 Apr 2016 04:20:59 -0400
Show error message on unhandled errors instead of duplicating the stack
Not sure if this is correct in all cases
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resource/bluebird.js b/resource/bluebird.js
@@ -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;