From 0a8ca0cced1a320e55c04270583595e6a9015d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Wed, 16 Aug 2023 11:54:19 +0200 Subject: [PATCH] fix(core): Fix `continueOnFail` for expression error in Set --- packages/core/src/NodeExecuteFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;