From e965a6cf0316fd2b2a091010a1ef3976ad5f0d8f Mon Sep 17 00:00:00 2001 From: Maayan Date: Fri, 18 Oct 2024 12:53:34 -0400 Subject: [PATCH] Do not ignore stderr when stdout is disabled (#547) do not ignore stderr when stdout is disabled --- src/cli/localNode.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cli/localNode.ts b/src/cli/localNode.ts index 885f3840f..dc8740171 100644 --- a/src/cli/localNode.ts +++ b/src/cli/localNode.ts @@ -91,10 +91,8 @@ export class LocalNode { childProcess.stderr?.on("data", (data: any) => { const str = data.toString(); - // Print local node output log - if (this.showStdout) { - console.log(str); - } + // Print local node output error log + console.log(str); }); childProcess.stdout?.on("data", (data: any) => {