From f1a64cefae9025717f1d1ad52e257f91e450a451 Mon Sep 17 00:00:00 2001 From: Alex Ilgayev Date: Wed, 15 Nov 2023 17:18:39 +0200 Subject: [PATCH] fix: wrong param for retval --- dist/main/index.js | 2 +- src/main/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main/index.js b/dist/main/index.js index 8029e89..55d9800 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -4156,7 +4156,7 @@ async function run(config) { } if (retval !== 0) { - throw new Error(`Failed starting Cimon process: ${exitCode}`); + throw new Error(`Failed starting Cimon process: ${retval}`); } } diff --git a/src/main/index.js b/src/main/index.js index 9bf6478..a284a0e 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -123,7 +123,7 @@ async function run(config) { } if (retval !== 0) { - throw new Error(`Failed starting Cimon process: ${exitCode}`); + throw new Error(`Failed starting Cimon process: ${retval}`); } }