mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Disable errors obfuscation (no-changelog) (#10617)
This commit is contained in:
@@ -487,7 +487,7 @@ export class ActionNetwork implements INodeType {
|
||||
? returnData.push(...(response as IDataObject[]))
|
||||
: returnData.push(response as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1189,7 +1189,7 @@ export class ActiveCampaign implements INodeType {
|
||||
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -420,7 +420,7 @@ export class Affinity implements INodeType {
|
||||
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -133,7 +133,7 @@ export class AiTransform implements INodeType {
|
||||
try {
|
||||
items = (await sandbox.runCodeAllItems()) as INodeExecutionData[];
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
if (!this.continueOnFail()) {
|
||||
set(error, 'node', node);
|
||||
throw error;
|
||||
}
|
||||
|
||||
@@ -653,7 +653,7 @@ export class AirtableV1 implements INodeType {
|
||||
rows.length = 0;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -696,7 +696,7 @@ export class AirtableV1 implements INodeType {
|
||||
rows.length = 0;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -757,7 +757,7 @@ export class AirtableV1 implements INodeType {
|
||||
}),
|
||||
];
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -880,7 +880,7 @@ export class AirtableV1 implements INodeType {
|
||||
rows.length = 0;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ export async function execute(
|
||||
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
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(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { message: error.message, error } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -261,7 +261,7 @@ export class Amqp implements INodeType {
|
||||
|
||||
return [responseData];
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
return [[{ json: { error: error.message }, pairedItems: { item: 0 } }]];
|
||||
} else {
|
||||
throw error;
|
||||
|
||||
@@ -385,7 +385,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -471,7 +471,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
}
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
@@ -561,7 +561,7 @@ export class ApiTemplateIo implements INodeType {
|
||||
}
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -2467,7 +2467,7 @@ export class Asana implements INodeType {
|
||||
),
|
||||
);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -306,7 +306,7 @@ export class Autopilot implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const exectionErrorWithMetaData = this.helpers.constructExecutionMetaData(
|
||||
[{ json: { error: error.message } }],
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -204,7 +204,7 @@ export class AwsLambda implements INodeType {
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: (error as JsonObject).message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -318,7 +318,7 @@ export class AwsSns implements INodeType {
|
||||
} as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ export class AwsCertificateManager implements INodeType {
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@ export class AwsComprehend implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -399,7 +399,7 @@ export class AwsDynamoDB implements INodeType {
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -451,7 +451,7 @@ export class AwsElb implements INodeType {
|
||||
),
|
||||
);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: (error as JsonObject).toString() });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -455,7 +455,7 @@ export class AwsRekognition implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -893,7 +893,7 @@ export class AwsS3V1 implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -1057,7 +1057,7 @@ export class AwsS3V2 implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -1285,7 +1285,7 @@ export class AwsSes implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -378,7 +378,7 @@ export class AwsSqs implements INodeType {
|
||||
const result = responseData.SendMessageResponse.SendMessageResult;
|
||||
returnData.push(result as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.description });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ export class AwsTextract implements INodeType {
|
||||
returnData.push(responseData as unknown as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -540,7 +540,7 @@ export class AwsTranscribe implements INodeType {
|
||||
returnData.push(responseData as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ export async function router(this: IExecuteFunctions): Promise<INodeExecutionDat
|
||||
operationResult.push(...(await companyReport[bamboohr.operation].execute.call(this, i)));
|
||||
}
|
||||
} catch (err) {
|
||||
if (this.continueOnFail(err)) {
|
||||
if (this.continueOnFail()) {
|
||||
operationResult.push({ json: this.getInputData(i)[0].json, error: err });
|
||||
} else {
|
||||
throw err;
|
||||
|
||||
@@ -334,7 +334,7 @@ export class Baserow implements INodeType {
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -371,7 +371,7 @@ export class Beeminder implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -212,7 +212,7 @@ export class Bitly implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -510,7 +510,7 @@ export class Box implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -276,7 +276,7 @@ export class Brandfetch implements INodeType {
|
||||
responseData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
responseData.push({ error: error.message, json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -627,7 +627,7 @@ export class Chargebee implements INodeType {
|
||||
returnData.push(...responseData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ export class CircleCi implements INodeType {
|
||||
|
||||
returnData.push(...(responseData as INodeExecutionData[]));
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -490,7 +490,7 @@ export class CiscoWebex implements INodeType {
|
||||
|
||||
returnData.push(...(responseData as INodeExecutionData[]));
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.toString(), json: {}, itemIndex: i });
|
||||
continue;
|
||||
}
|
||||
@@ -549,7 +549,7 @@ export class CiscoWebex implements INodeType {
|
||||
// returnData.push(...responseData.items);
|
||||
// }
|
||||
// } catch (error) {
|
||||
// if (this.continueOnFail(error)) {
|
||||
// if (this.continueOnFail()) {
|
||||
// returnData.push({
|
||||
// error: error.message,
|
||||
// });
|
||||
|
||||
@@ -158,7 +158,7 @@ export class Clearbit implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1628,7 +1628,7 @@ export class ClickUp implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -840,7 +840,7 @@ export class Clockify implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ export class Cloudflare implements INodeType {
|
||||
),
|
||||
);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ export class Cockpit implements INodeType {
|
||||
returnData.push(responseData as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -303,7 +303,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
return [this.helpers.returnJsonArray({ error: error.message })];
|
||||
}
|
||||
throw error;
|
||||
@@ -348,7 +348,7 @@ export class Coda implements INodeType {
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -428,7 +428,7 @@ export class Coda implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: { error: error.message },
|
||||
pairedItem: [{ item: i }],
|
||||
@@ -464,7 +464,7 @@ export class Coda implements INodeType {
|
||||
await codaApiRequest.call(this, 'DELETE', endpoint, { rowIds: sendData[endpoint] }, qs);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
return [this.helpers.returnJsonArray({ error: error.message })];
|
||||
}
|
||||
throw error;
|
||||
@@ -484,7 +484,7 @@ export class Coda implements INodeType {
|
||||
responseData = await codaApiRequest.call(this, 'POST', endpoint, {});
|
||||
returnData.push(responseData as INodeExecutionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -512,7 +512,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -546,7 +546,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -575,7 +575,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -608,7 +608,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -637,7 +637,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -670,7 +670,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -720,7 +720,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...responseData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -795,7 +795,7 @@ export class Coda implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: { error: error.message },
|
||||
pairedItem: [{ item: i }],
|
||||
@@ -823,7 +823,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -852,7 +852,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -885,7 +885,7 @@ export class Coda implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.messsage }),
|
||||
{ itemData: { item: i } },
|
||||
@@ -929,7 +929,7 @@ export class Coda implements INodeType {
|
||||
};
|
||||
await codaApiRequest.call(this, 'PUT', endpoint, body, qs);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
items[i].json = { error: error.message };
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ export class Code implements INodeType {
|
||||
try {
|
||||
items = (await sandbox.runCodeAllItems()) as INodeExecutionData[];
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
if (!this.continueOnFail()) {
|
||||
set(error, 'node', node);
|
||||
throw error;
|
||||
}
|
||||
@@ -163,7 +163,7 @@ export class Code implements INodeType {
|
||||
try {
|
||||
result = await sandbox.runCodeEachItem();
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
if (!this.continueOnFail()) {
|
||||
set(error, 'node', node);
|
||||
throw error;
|
||||
}
|
||||
|
||||
@@ -477,7 +477,7 @@ export class CoinGecko implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -438,7 +438,7 @@ export class Compression implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -364,7 +364,7 @@ export class Contentful implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -485,7 +485,7 @@ export class ConvertKit implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message, json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -619,7 +619,7 @@ export class Copper implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.toString(), json: {} });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ export class Cortex implements INodeType {
|
||||
returnData.push(responseData as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -532,7 +532,7 @@ export class Crypto implements INodeType {
|
||||
|
||||
returnData.push(newItem);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: (error as JsonObject).message,
|
||||
|
||||
@@ -335,7 +335,7 @@ export class CustomerIo implements INodeType {
|
||||
returnData.push(responseData as unknown as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -570,7 +570,7 @@ export class DateTimeV1 implements INodeType {
|
||||
returnData.push(newItem);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -218,7 +218,7 @@ export class DateTimeV2 implements INodeType {
|
||||
returnData.push(item);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -363,7 +363,7 @@ export class DebugHelper implements INodeType {
|
||||
break;
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -138,7 +138,7 @@ export class DeepL implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = {
|
||||
json: {} as IDataObject,
|
||||
error: error.message,
|
||||
|
||||
@@ -195,7 +195,7 @@ export class Demio implements INodeType {
|
||||
returnData.push(responseData as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ export class Dhl implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.description });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, 0));
|
||||
}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, 0));
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ export async function execute(
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ export async function execute(this: IExecuteFunctions): Promise<INodeExecutionDa
|
||||
} catch (error) {
|
||||
const err = parseDiscordError.call(this, error, i);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push(...prepareErrorData.call(this, err, i));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -444,7 +444,7 @@ export class Discourse implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -750,7 +750,7 @@ export class Disqus implements INodeType {
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -151,7 +151,7 @@ export class Drift implements INodeType {
|
||||
returnData.push(responseData as IDataObject);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1003,7 +1003,7 @@ export class Dropbox implements INodeType {
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
if (resource === 'file' && operation === 'download') {
|
||||
items[i].json = { error: error.message };
|
||||
} else {
|
||||
|
||||
@@ -1310,7 +1310,7 @@ export class EditImage implements INodeType {
|
||||
}),
|
||||
);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -734,7 +734,7 @@ export class Egoi implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
if (!this.continueOnFail()) {
|
||||
throw error;
|
||||
} else {
|
||||
// Return the actual reason as error
|
||||
|
||||
@@ -523,7 +523,7 @@ export class ElasticSecurity implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -227,7 +227,7 @@ export class EmailSendV1 implements INodeType {
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -353,7 +353,7 @@ export async function execute(this: IExecuteFunctions): Promise<INodeExecutionDa
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -429,7 +429,7 @@ export class Emelia implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -112,7 +112,7 @@ export class ExecuteCommand implements INodeType {
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnItems.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -243,7 +243,7 @@ export class ExecuteWorkflow implements INodeType {
|
||||
returnData = [items];
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
if (returnData[i] === undefined) {
|
||||
returnData[i] = [];
|
||||
}
|
||||
@@ -297,7 +297,7 @@ export class ExecuteWorkflow implements INodeType {
|
||||
return workflowResult;
|
||||
} catch (error) {
|
||||
const pairedItem = generatePairedItemData(items.length);
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
return [[{ json: { error: error.message }, pairedItem }]];
|
||||
}
|
||||
throw error;
|
||||
|
||||
@@ -422,7 +422,7 @@ export class FacebookGraphApi implements INodeType {
|
||||
// Now that the options are all set make the actual http request
|
||||
response = await this.helpers.request(requestOptions);
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
if (!this.continueOnFail()) {
|
||||
throw new NodeApiError(this.getNode(), error as JsonObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -809,7 +809,7 @@ export class FileMaker implements INodeType {
|
||||
}
|
||||
returnData.push({ json: response, pairedItem: { item: i } });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: { error: error.message },
|
||||
pairedItem: { item: i },
|
||||
|
||||
@@ -110,7 +110,7 @@ export async function execute(
|
||||
|
||||
returnData = [newItem];
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -141,7 +141,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
|
||||
returnData.push(newItem);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -119,7 +119,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
|
||||
returnData = [newItem];
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
@@ -154,7 +154,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
|
||||
returnData.push(newItem);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -107,7 +107,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
|
||||
returnData.push(newItem);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -169,7 +169,7 @@ export async function execute(
|
||||
errorDescription =
|
||||
"Try to change the operation or select a JSON file in 'Input Binary Field'";
|
||||
}
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -122,7 +122,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
|
||||
returnData.push(newItem);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: error.message,
|
||||
|
||||
@@ -136,7 +136,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
filePath: fileSelector,
|
||||
operation: 'read',
|
||||
});
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: nodeOperatioinError.message,
|
||||
|
||||
@@ -108,7 +108,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
||||
filePath: fileName,
|
||||
operation: 'write',
|
||||
});
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: {
|
||||
error: nodeOperatioinError.message,
|
||||
|
||||
@@ -116,7 +116,7 @@ export class FilterV2 implements INodeType {
|
||||
discardedItems.push(item);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
discardedItems.push(item);
|
||||
} else {
|
||||
if (error instanceof NodeOperationError) {
|
||||
|
||||
@@ -1409,7 +1409,7 @@ export class Freshdesk implements INodeType {
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -1372,7 +1372,7 @@ export class Freshservice implements INodeType {
|
||||
responseData = responseData[special[resource]] ?? responseData[resource];
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -976,7 +976,7 @@ export class FreshworksCrm implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
@@ -548,7 +548,7 @@ export class Ftp implements INodeType {
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
const pairedItem = generatePairedItemData(items.length);
|
||||
|
||||
return [[{ json: { error: error.message }, pairedItem }]];
|
||||
@@ -816,7 +816,7 @@ export class Ftp implements INodeType {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnItems.push({ json: { error: error.message }, pairedItem: { item: i } });
|
||||
continue;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user