From 1cb6c12b4f7991bc64566d9978055b2d966229c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Wed, 22 May 2024 16:42:06 +0200 Subject: [PATCH] refactor(core): Track potentially unneeded inferral of execution status (no-changelog) (#9476) --- packages/cli/src/executions/execution.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cli/src/executions/execution.service.ts b/packages/cli/src/executions/execution.service.ts index c245e2124..81735c5f8 100644 --- a/packages/cli/src/executions/execution.service.ts +++ b/packages/cli/src/executions/execution.service.ts @@ -9,6 +9,7 @@ import type { ExecutionStatus, } from 'n8n-workflow'; import { + ErrorReporterProxy as EventReporter, ApplicationError, ExecutionStatusList, Workflow, @@ -106,6 +107,8 @@ export class ExecutionService { } if (!execution.status) { + const { data, workflowData, ...rest } = execution; + EventReporter.info('Detected `null` execution status', { extra: { execution: rest } }); execution.status = getStatusUsingPreviousExecutionStatusMethod(execution); }