diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-08-28 20:06:48 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-08-28 20:06:48 +0100 |
| commit | 174dc90dc6e13cc3e5a3a89d08f7e651541a9056 (patch) | |
| tree | 09b6306b7f7e705bf66816201d8763cfce129a54 /lib | |
| parent | d333cee1c7a7f95cadf5b59e8dbb0124d73852df (diff) | |
Include error on the error message, rather than just the stack
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/results.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; } |
