fix(core): Incorrect data returned by the node when using retry on error + continue on error (#16516)

This commit is contained in:
RomanDavydchuk
2025-06-20 12:58:52 +03:00
committed by GitHub
parent 3ea51c11cb
commit f598b3bf00
2 changed files with 755 additions and 1 deletions

View File

@@ -1547,7 +1547,7 @@ export class WorkflowExecute {
nodeSuccessData = runNodeData.data;
const didContinueOnFail = nodeSuccessData?.[0]?.[0]?.json?.error !== undefined;
let didContinueOnFail = nodeSuccessData?.[0]?.[0]?.json?.error !== undefined;
while (didContinueOnFail && tryIndex !== maxTries - 1) {
await sleep(waitBetweenTries);
@@ -1562,6 +1562,8 @@ export class WorkflowExecute {
this.abortController.signal,
);
nodeSuccessData = runNodeData.data;
didContinueOnFail = nodeSuccessData?.[0]?.[0]?.json?.error !== undefined;
tryIndex++;
}