Skip to content

Commit

Permalink
fix(core): Fix continueOnFail for expression error in Set
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Aug 16, 2023
1 parent 198a977 commit 0a8ca0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/NodeExecuteFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ export function getNodeParameter(
);
cleanupParameterData(returnData);
} catch (e) {
if (e instanceof ExpressionError && node.continueOnFail && node.name === 'Set') {
if (e instanceof ExpressionError && node.continueOnFail && node.type === 'n8n-nodes-base.set') {
returnData = [{ name: undefined, value: undefined }];
} else {
if (e.context) e.context.parameter = parameterName;
Expand Down

0 comments on commit 0a8ca0c

Please sign in to comment.