mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Do not show errors not processed by n8n (no-changelog) (#9598)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -653,7 +653,7 @@ export class AirtableV1 implements INodeType {
|
||||
rows.length = 0;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -696,7 +696,7 @@ export class AirtableV1 implements INodeType {
|
||||
rows.length = 0;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -757,7 +757,7 @@ export class AirtableV1 implements INodeType {
|
||||
}),
|
||||
];
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
} else {
|
||||
throw error;
|
||||
@@ -792,7 +792,7 @@ export class AirtableV1 implements INodeType {
|
||||
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -880,7 +880,7 @@ export class AirtableV1 implements INodeType {
|
||||
rows.length = 0;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export async function execute(
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
error = processAirtableError(error as NodeApiError, undefined, i);
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ export async function execute(
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
error = processAirtableError(error as NodeApiError, undefined, i);
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { message: error.message, error } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ export async function execute(
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
error = processAirtableError(error as NodeApiError, id, i);
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ export async function execute(
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
error = processAirtableError(error as NodeApiError, id, i);
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ export async function execute(
|
||||
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { message: error.message, error }, pairedItem: { item: i } });
|
||||
continue;
|
||||
} else {
|
||||
|
||||
@@ -138,7 +138,7 @@ export async function execute(
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
error = processAirtableError(error as NodeApiError, recordId, i);
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { message: error.message, error } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ export async function execute(
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
error = processAirtableError(error as NodeApiError, undefined, i);
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnData.push({ json: { message: error.message, error } });
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user