diff --git a/packages/core/src/NodeExecuteFunctions.ts b/packages/core/src/NodeExecuteFunctions.ts index e053949c9226e..641013cdf3880 100644 --- a/packages/core/src/NodeExecuteFunctions.ts +++ b/packages/core/src/NodeExecuteFunctions.ts @@ -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;