commit b4a9858f37634b9a21d3394c6891ae1e28bb0cee parent 13c4bbebfae3cc5fc3b3a0db6ba3b396051c1bdc Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 29 Apr 2016 23:31:49 -0400 Log message for unhandled promise rejection when string is thrown Diffstat:
| M | resource/bluebird.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resource/bluebird.js b/resource/bluebird.js @@ -100,7 +100,7 @@ return; } - self.debug('Possibly unhandled rejection:\n\n' + e.message); + self.debug('Possibly unhandled rejection:\n\n' + (e.message || e)); throw e; }); return;