mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-24 02:52:24 -08:00
fix(core): Fix optional chaining in continue on fail check (#9667)
This commit is contained in:
parent
1fdd657a0c
commit
6ae6a5ebdf
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue