Skip to content

Commit

Permalink
fix: Prevent binary data restoration from preventing execution from f…
Browse files Browse the repository at this point in the history
…inishing
  • Loading branch information
krynble committed Dec 19, 2023
1 parent 63a6e7e commit 5e632ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/cli/src/WorkflowExecuteAdditionalData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,14 @@ function hookFunctionsSave(parentProcessMode?: string): IWorkflowExecuteHooks {
workflowId: this.workflowData.id,
});

await restoreBinaryDataId(fullRunData, this.executionId, this.mode);
try {
await restoreBinaryDataId(fullRunData, this.executionId, this.mode);
} catch (e) {
logger.debug('Failed to restore binary data ID', {
executionId: this.executionId,
mode: this.mode,
});
}

const isManualMode = [this.mode, parentProcessMode].includes('manual');

Expand Down

0 comments on commit 5e632ca

Please sign in to comment.