summaryrefslogtreecommitdiff
path: root/js/runtime.ts
diff options
context:
space:
mode:
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);
};