From d3d85b21c808392ead67dd1bba5a7ddc34e2ae0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 27 Nov 2022 11:30:22 +0100 Subject: [PATCH] Refine worker exit with error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/worker/WorkerUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/WorkerUtils.ts b/src/worker/WorkerUtils.ts index 4d6868f7..2b612351 100644 --- a/src/worker/WorkerUtils.ts +++ b/src/worker/WorkerUtils.ts @@ -7,7 +7,7 @@ export class WorkerUtils { public static defaultExitHandler = (code: number): void => { if (code !== 0) { - console.error(chalk.red(`Worker stopped with exit code ${code}`)); + console.error(chalk.red(`Worker exited with error exit code: ${code.toString()}`)); } }; -- 2.34.1