From 436cc1fd2207b1cf241b33809b6f53078235828d Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Oct 2018 12:01:22 +0200 Subject: [PATCH] windows: node process title detection fix --- app/main/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/main.js b/app/main/main.js index c1842822..9c8d370b 100644 --- a/app/main/main.js +++ b/app/main/main.js @@ -3,7 +3,7 @@ var dev = process.argv[1] === '.', var serverStarted -if (process.title === 'node') { +if (process.title === 'node' || process.title === 'node.exe') { process.on('uncaughtException', (err)=>{ console.error('A JavaScript error occurred in the main process:') console.trace(err)