From e1e9af644e18d3f1b082c277914e040903e90626 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 27 Oct 2018 12:21:13 +0200 Subject: [PATCH] node: better error stack handling --- app/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/index.js b/app/main/index.js index fceefbe7..8ca8b205 100644 --- a/app/main/index.js +++ b/app/main/index.js @@ -16,7 +16,7 @@ function nodeMode() { process.on('uncaughtException', (err)=>{ console.error('A JavaScript error occurred in the main process:') - console.trace(err) + console.error(err.stack) }) }