mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(core): Fix continueOnFail for expression error in Set (#6939)
* fix(core): Fix `continueOnFail` for expression error in Set * Add story
This commit is contained in:
@@ -2041,7 +2041,8 @@ export function getNodeParameter(
|
|||||||
);
|
);
|
||||||
cleanupParameterData(returnData);
|
cleanupParameterData(returnData);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof ExpressionError && node.continueOnFail && node.name === 'Set') {
|
if (e instanceof ExpressionError && node.continueOnFail && node.type === 'n8n-nodes-base.set') {
|
||||||
|
// https://linear.app/n8n/issue/PAY-684
|
||||||
returnData = [{ name: undefined, value: undefined }];
|
returnData = [{ name: undefined, value: undefined }];
|
||||||
} else {
|
} else {
|
||||||
if (e.context) e.context.parameter = parameterName;
|
if (e.context) e.context.parameter = parameterName;
|
||||||
|
|||||||
Reference in New Issue
Block a user