From 174dc90dc6e13cc3e5a3a89d08f7e651541a9056 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 28 Aug 2016 20:06:48 +0100 Subject: Include error on the error message, rather than just the stack --- lib/results.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/results.js b/lib/results.js index 043f1f9..7d3ca69 100644 --- a/lib/results.js +++ b/lib/results.js @@ -49,7 +49,7 @@ function error(exception) { return { type: "error", message: exception.message, - stack: exception.stack + error: exception }; } -- cgit v1.2.3