mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Handle missing json property on nodeSuccessData (#13219)
This commit is contained in:
committed by
GitHub
parent
67cd05c6dc
commit
aedea7a76c
@@ -1488,7 +1488,7 @@ export class WorkflowExecute {
|
|||||||
|
|
||||||
nodeSuccessData = runNodeData.data;
|
nodeSuccessData = runNodeData.data;
|
||||||
|
|
||||||
const didContinueOnFail = nodeSuccessData?.[0]?.[0]?.json.error !== undefined;
|
const didContinueOnFail = nodeSuccessData?.[0]?.[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