summaryrefslogtreecommitdiff
path: root/js/runtime.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-16 23:25:50 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-18 15:43:50 -0400
commitb892188878fd5a1a38a45d1c2e892c41be240ca0 (patch)
treed10a7023641c294a0c76f505c9ee0f870fdf36c9 /js/runtime.ts
parent3e51605bc9ca98522fc21a0673e690105f48da98 (diff)
Better exception output.
Diffstat (limited to 'js/runtime.ts')
-rw-r--r--js/runtime.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/runtime.ts b/js/runtime.ts
index d234cdd85..c439fb963 100644
--- a/js/runtime.ts
+++ b/js/runtime.ts
@@ -36,7 +36,7 @@ window.onerror = (
// Error.prepareStackTrace handler. Users will get unmapped stack traces on
// uncaught exceptions until this issue is fixed.
//Error.prepareStackTrace = null;
- console.log(error.message, error.stack);
+ console.log(error.stack);
os.exit(1);
};