Catch workflowExecuteAfter hook (#1189)

This commit is contained in:
Ben Hesseldieck
2020-11-19 10:14:43 +01:00
committed by GitHub
parent 8aa50df457
commit 130f944398
2 changed files with 3 additions and 3 deletions

View File

@@ -761,7 +761,9 @@ export class WorkflowExecute {
newStaticData = workflow.staticData;
}
await this.executeHook('workflowExecuteAfter', [fullRunData, newStaticData]);
await this.executeHook('workflowExecuteAfter', [fullRunData, newStaticData]).catch(error => {
console.error('There was a problem running hook "workflowExecuteAfter"', error);
});
return fullRunData;
});