mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-24 04:59:13 +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
|
// Verify that ErrorReporter.error was called due to invalid JSON data
|
||||||
expect(mockErrorReporter.error).toHaveBeenCalledWith(
|
expect(mockErrorReporter.error).toHaveBeenCalledWith(
|
||||||
'node execution returned incorrect data',
|
'node execution returned incorrect output',
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
shouldBeLogged: false,
|
shouldBeLogged: false,
|
||||||
extra: expect.objectContaining({
|
extra: expect.objectContaining({
|
||||||
|
|||||||
@@ -1196,7 +1196,7 @@ export class WorkflowExecute {
|
|||||||
// Does not block the execution from continuing
|
// Does not block the execution from continuing
|
||||||
const jsonCompatibleResult = isJsonCompatible(data, new Set(['pairedItem']));
|
const jsonCompatibleResult = isJsonCompatible(data, new Set(['pairedItem']));
|
||||||
if (!jsonCompatibleResult.isValid) {
|
if (!jsonCompatibleResult.isValid) {
|
||||||
Container.get(ErrorReporter).error('node execution returned incorrect data', {
|
Container.get(ErrorReporter).error('node execution returned incorrect output', {
|
||||||
shouldBeLogged: false,
|
shouldBeLogged: false,
|
||||||
extra: {
|
extra: {
|
||||||
nodeName: node.name,
|
nodeName: node.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user