From 43ad414a81e3c4bfa68f1f7cb904d77acaf9b500 Mon Sep 17 00:00:00 2001 From: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:11:16 -0800 Subject: [PATCH] Update src/logs/diagnostic-channel/console.sub.ts Co-authored-by: Jackson Weber <47067795+JacksonWeber@users.noreply.github.com> --- src/logs/diagnostic-channel/console.sub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logs/diagnostic-channel/console.sub.ts b/src/logs/diagnostic-channel/console.sub.ts index 3ae5b2f22..0e23a4a0a 100644 --- a/src/logs/diagnostic-channel/console.sub.ts +++ b/src/logs/diagnostic-channel/console.sub.ts @@ -11,7 +11,7 @@ let logger: Logger; let logSendingLevel: SeverityNumber; const subscriber = (event: IStandardEvent) => { - let severity = (event.data.message as string | Error) instanceof Error ? SeverityNumber.ERROR : (event.data.stderr + const severity = (event.data.message as string | Error) instanceof Error ? SeverityNumber.ERROR : (event.data.stderr ? SeverityNumber.WARN : SeverityNumber.INFO); if (logSendingLevel <= severity) {