feat: Do not show errors not processed by n8n (no-changelog) (#9598)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Michael Kret
2024-06-20 08:45:00 +03:00
committed by GitHub
parent 4740162232
commit b7aea957b8
317 changed files with 471 additions and 454 deletions

View File

@@ -256,7 +256,7 @@ export class MicrosoftExcelV1 implements INodeType {
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData },
@@ -317,7 +317,7 @@ export class MicrosoftExcelV1 implements INodeType {
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },
@@ -402,7 +402,7 @@ export class MicrosoftExcelV1 implements INodeType {
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },
@@ -483,7 +483,7 @@ export class MicrosoftExcelV1 implements INodeType {
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },
@@ -577,7 +577,7 @@ export class MicrosoftExcelV1 implements INodeType {
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },
@@ -675,7 +675,7 @@ export class MicrosoftExcelV1 implements INodeType {
}
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -115,7 +115,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -271,7 +271,7 @@ export async function execute(
}),
);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const itemData = generatePairedItemData(this.getInputData().length);
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),

View File

@@ -52,7 +52,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -47,7 +47,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -153,7 +153,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -210,7 +210,7 @@ export async function execute(
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -145,7 +145,7 @@ export async function execute(
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -97,7 +97,7 @@ export async function execute(
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -60,7 +60,7 @@ export async function execute(
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -110,7 +110,7 @@ export async function execute(
returnData.push(...executionData);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -104,7 +104,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -43,7 +43,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -107,7 +107,7 @@ export async function execute(
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -189,7 +189,7 @@ export async function execute(
);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),
{ itemData: { item: i } },

View File

@@ -372,7 +372,7 @@ export async function execute(
);
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const itemData = generatePairedItemData(this.getInputData().length);
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),

View File

@@ -379,7 +379,7 @@ export async function execute(
}),
);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
const itemData = generatePairedItemData(this.getInputData().length);
const executionErrorData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.message }),