mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
chore(core): Change incorrect node output sentry error to ignore previous one (#18579)
This commit is contained in:
committed by
GitHub
parent
010b6dc7a5
commit
815d191c01
@@ -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({
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user