From 815d191c01bf65cd32820279cd1e479b9ac8b171 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Thu, 21 Aug 2025 08:27:47 +0200 Subject: [PATCH] chore(core): Change incorrect node output sentry error to ignore previous one (#18579) --- .../__tests__/workflow-execute-run-node.test.ts | 2 +- packages/core/src/execution-engine/workflow-execute.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/execution-engine/__tests__/workflow-execute-run-node.test.ts b/packages/core/src/execution-engine/__tests__/workflow-execute-run-node.test.ts index 41e4eebed4c..213bc34ff53 100644 --- a/packages/core/src/execution-engine/__tests__/workflow-execute-run-node.test.ts +++ b/packages/core/src/execution-engine/__tests__/workflow-execute-run-node.test.ts @@ -527,7 +527,7 @@ describe('WorkflowExecute.runNode - Real Implementation', () => { // Verify that ErrorReporter.error was called due to invalid JSON data expect(mockErrorReporter.error).toHaveBeenCalledWith( - 'node execution returned incorrect data', + 'node execution returned incorrect output', expect.objectContaining({ shouldBeLogged: false, extra: expect.objectContaining({ diff --git a/packages/core/src/execution-engine/workflow-execute.ts b/packages/core/src/execution-engine/workflow-execute.ts index d6c721a08a4..9dc7b34805d 100644 --- a/packages/core/src/execution-engine/workflow-execute.ts +++ b/packages/core/src/execution-engine/workflow-execute.ts @@ -1196,7 +1196,7 @@ export class WorkflowExecute { // Does not block the execution from continuing const jsonCompatibleResult = isJsonCompatible(data, new Set(['pairedItem'])); if (!jsonCompatibleResult.isValid) { - Container.get(ErrorReporter).error('node execution returned incorrect data', { + Container.get(ErrorReporter).error('node execution returned incorrect output', { shouldBeLogged: false, extra: { nodeName: node.name,