diff --git a/electron/main.ts b/electron/main.ts index 3514c1eb..1ea7dce6 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -64,7 +64,7 @@ const IS_SMOKE_EXPORT = process.env.RECORDLY_SMOKE_EXPORT === "1"; function ignoreBrokenConsolePipe(stream: NodeJS.WritableStream | undefined) { stream?.on("error", (error: NodeJS.ErrnoException) => { - if (error.code === "EPIPE") { + if (error.code === "EPIPE" || error.code === "EIO") { return; } throw error;