From ee5a62b9f4dbb2ece6912177174440a17db40f2e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 15 Apr 2016 04:20:59 -0400 Subject: [PATCH] Show error message on unhandled errors instead of duplicating the stack Not sure if this is correct in all cases --- resource/bluebird.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/bluebird.js b/resource/bluebird.js index 3fbd9f902b..e32fefd392 100644 --- 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;