mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix: Disable errors obfuscation (no-changelog) (#10617)
This commit is contained in:
parent
1e08f444c9
commit
9fa1a9aa99
|
@ -114,7 +114,7 @@ export async function conversationalAgentExecute(
|
|||
} catch (error) {
|
||||
throwIfToolSchema(this, error);
|
||||
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ export async function openAiFunctionsAgentExecute(
|
|||
|
||||
returnData.push({ json: response });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ export async function planAndExecuteAgentExecute(
|
|||
returnData.push({ json: response });
|
||||
} catch (error) {
|
||||
throwIfToolSchema(this, error);
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ export async function reActAgentAgentExecute(
|
|||
returnData.push({ json: response });
|
||||
} catch (error) {
|
||||
throwIfToolSchema(this, error);
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -142,7 +142,7 @@ export async function sqlAgentAgentExecute(
|
|||
|
||||
returnData.push({ json: response });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: i } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -225,7 +225,7 @@ export async function toolsAgentExecute(this: IExecuteFunctions): Promise<INodeE
|
|||
),
|
||||
});
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({
|
||||
json: { error: error.message },
|
||||
pairedItem: { item: itemIndex },
|
||||
|
|
|
@ -383,7 +383,7 @@ export class OpenAiAssistant implements INodeType {
|
|||
|
||||
returnData.push({ json: response });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -580,7 +580,7 @@ export class ChainLlm implements INodeType {
|
|||
});
|
||||
});
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@ export class ChainRetrievalQa implements INodeType {
|
|||
const response = await chain.withConfig(getTracingConfig(this)).invoke({ query });
|
||||
returnData.push({ json: { response } });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -416,7 +416,7 @@ export class ChainSummarizationV2 implements INodeType {
|
|||
returnData.push({ json: { response } });
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -294,7 +294,7 @@ export class InformationExtractor implements INodeType {
|
|||
const output = await chain.invoke(messages);
|
||||
resultData.push({ json: { output } });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
resultData.push({ json: { error: error.message }, pairedItem: { item: itemIndex } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -241,7 +241,7 @@ export class SentimentAnalysis 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 } },
|
||||
|
|
|
@ -242,7 +242,7 @@ ${fallbackPrompt}`,
|
|||
});
|
||||
if (fallback === 'other' && output.fallback) returnData[returnData.length - 1].push(item);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData[0].push({
|
||||
json: { error: error.message },
|
||||
pairedItem: { item: itemIdx },
|
||||
|
|
|
@ -324,7 +324,7 @@ export class Code implements INodeType {
|
|||
try {
|
||||
items = await sandbox.runCodeAllItems(options);
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail(error)) throw error;
|
||||
if (!this.continueOnFail()) throw error;
|
||||
items = [{ json: { error: (error as Error).message } }];
|
||||
if (options.multiOutput) {
|
||||
items = [items];
|
||||
|
|
|
@ -55,7 +55,7 @@ export async function router(this: IExecuteFunctions) {
|
|||
|
||||
returnData.push(...responseData);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail(error)) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: i } });
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -122,7 +122,6 @@ import {
|
|||
jsonParse,
|
||||
ApplicationError,
|
||||
sleep,
|
||||
OBFUSCATED_ERROR_MESSAGE,
|
||||
} from 'n8n-workflow';
|
||||
import type { Token } from 'oauth-1.0a';
|
||||
import clientOAuth1 from 'oauth-1.0a';
|
||||
|
@ -3628,12 +3627,8 @@ export function getExecuteFunctions(
|
|||
itemIndex,
|
||||
),
|
||||
getExecuteData: () => executeData,
|
||||
continueOnFail: (error?: Error) => {
|
||||
const shouldContinue = continueOnFail(node);
|
||||
if (error && shouldContinue && !(error instanceof ApplicationError)) {
|
||||
error.message = OBFUSCATED_ERROR_MESSAGE;
|
||||
}
|
||||
return shouldContinue;
|
||||
continueOnFail: () => {
|
||||
return continueOnFail(node);
|
||||
},
|
||||
evaluateExpression: (expression: string, itemIndex: number) => {
|
||||
return workflow.expression.resolveSimpleParameterValue(
|
||||
|
|
|
@ -1333,8 +1333,6 @@ export class WorkflowExecute {
|
|||
} else {
|
||||
// Report any unhandled and non-wrapped errors to Sentry
|
||||
toReport = error;
|
||||
// Set obfuscate to true so that the error would be obfuscated in th UI
|
||||
error.obfuscate = true;
|
||||
}
|
||||
if (toReport) {
|
||||
ErrorReporterProxy.error(toReport, {
|
||||
|
|
|
@ -226,10 +226,6 @@ function addItemIndexSuffix(message: string): string {
|
|||
}
|
||||
|
||||
function getErrorMessage(): string {
|
||||
if ('obfuscate' in props.error && props.error.obfuscate === true) {
|
||||
return i18n.baseText('nodeErrorView.showMessage.obfuscate');
|
||||
}
|
||||
|
||||
let message = '';
|
||||
|
||||
const isSubNodeError =
|
||||
|
|
|
@ -1135,7 +1135,6 @@
|
|||
"nodeErrorView.itemIndex": "Item Index",
|
||||
"nodeErrorView.runIndex": "Run Index",
|
||||
"nodeErrorView.showMessage.title": "Copied to clipboard",
|
||||
"nodeErrorView.showMessage.obfuscate": "Internal error",
|
||||
"nodeErrorView.stack": "Stack",
|
||||
"nodeErrorView.theErrorCauseIsTooLargeToBeDisplayed": "The error cause is too large to be displayed",
|
||||
"nodeErrorView.time": "Time",
|
||||
|
|
|
@ -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,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue