mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-10-14 03:50:46 +02:00
fix(core): Fix optional chaining in continue on fail check (#9667)
This commit is contained in:
1 parent
1fdd657a0c
commit
6ae6a5ebdf
1 file changed
+1
-1
@@ -1067,7 +1067,7 @@ export class WorkflowExecute {
|
||||
|
||||
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) {
|
||||
await sleep(waitBetweenTries);
|
||||
|
||||
Reference in new issue
Block a user