mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Fix optional chaining in continue on fail check (#9667)
This commit is contained in:
@@ -1067,7 +1067,7 @@ export class WorkflowExecute {
|
|||||||
|
|
||||||
nodeSuccessData = runNodeData.data;
|
nodeSuccessData = runNodeData.data;
|
||||||
|
|
||||||
const didContinueOnFail = nodeSuccessData?.at(0)?.at(0)?.json.error !== undefined;
|
const didContinueOnFail = nodeSuccessData?.at(0)?.at(0)?.json?.error !== undefined;
|
||||||
|
|
||||||
while (didContinueOnFail && tryIndex !== maxTries - 1) {
|
while (didContinueOnFail && tryIndex !== maxTries - 1) {
|
||||||
await sleep(waitBetweenTries);
|
await sleep(waitBetweenTries);
|
||||||
|
|||||||
Reference in New Issue
Block a user