☕️ Classic, reliable, trusted test framework for Node.js and the browser
add err.message to uncaught debug() call
TJ Holowaychuk808a6f19816d
diff --git a/lib/runner.js b/lib/runner.jsindex 15ca7282..9f94a3be 100644--- a/lib/runner.js+++ b/lib/runner.js@@ -411,7 +411,7 @@ Runner.prototype.runSuite = function(suite, fn){*/Runner.prototype.uncaught = function(err){- debug('uncaught exception');+ debug('uncaught exception %s', err.message);var runnable = this.currentRunnable;if ('failed' == runnable.state) return;runnable.clearTimeout();