From ce0c3bbd0e3c9a22f3e4b00477973d71445a35fe Mon Sep 17 00:00:00 2001 From: "Robert (Jamie) Munro" Date: Mon, 27 Apr 2026 13:10:36 +0100 Subject: [PATCH] Fix crash on connection timeout The update to TSR 4eed5eee996d89b43f7794ec271bd40e80351318 seems to have changed the behaviour when a timeout occurs so that some sort of exception occurs. Winston in playout gateway sees this exception and exits. This configures Winston to not exit in those circumstances. --- packages/playout-gateway/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/playout-gateway/src/index.ts b/packages/playout-gateway/src/index.ts index 248fa89f445..efce29277fb 100644 --- a/packages/playout-gateway/src/index.ts +++ b/packages/playout-gateway/src/index.ts @@ -44,6 +44,7 @@ if (logPath) { }) logger = Winston.createLogger({ + exitOnError: false, transports: [transportConsole, transportFile], }) logger.info('Logging to', logPath) @@ -67,6 +68,7 @@ if (logPath) { }) logger = Winston.createLogger({ + exitOnError: false, transports: [transportConsole], }) logger.info('Logging to Console')