mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix: Disable errors obfuscation (no-changelog) (#10617)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user