mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix(core): Incorrect data returned by the node when using retry on error + continue on error (#16516)
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user