fix: Disable errors obfuscation (no-changelog) (#10617)

This commit is contained in:
Michael Kret
2024-08-30 10:59:30 +03:00
committed by GitHub
parent 1e08f444c9
commit 9fa1a9aa99
320 changed files with 445 additions and 518 deletions

View File

@@ -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(