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

@@ -155,7 +155,7 @@ export class SpreadsheetFileV1 implements INodeType {
}
}
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
newItems.push({
json: {
error: error.message,
@@ -242,7 +242,7 @@ export class SpreadsheetFileV1 implements INodeType {
newItems.push(newItem);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
newItems.push({
json: {
error: error.message,

View File

@@ -209,7 +209,7 @@ export async function execute(
error.message = `The file selected in 'Input Binary Field' is not in ${fileFormat} format`;
errorDescription = `Try to change the operation or select a ${fileFormat} file in 'Input Binary Field'`;
}
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
returnData.push({
json: {
error: error.message,

View File

@@ -29,7 +29,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
returnData.push(newItem);
} catch (error) {
if (this.continueOnFail()) {
if (this.continueOnFail(error)) {
returnData.push({
json: {
error: error.message,