fix(core): Restore log event n8n.workflow.failed (#10253)

This commit is contained in:
Iván Ovejero
2024-07-31 12:22:52 +02:00
committed by GitHub
parent efee25ddaa
commit 3e96b29332
6 changed files with 94 additions and 5 deletions

View File

@@ -651,6 +651,7 @@ function hookFunctionsSaveWorker(): IWorkflowExecuteHooks {
executionId,
success: runData.status === 'success',
isManual: runData.mode === 'manual',
runData,
});
},
async function (this: WorkflowHooks, fullRunData: IRun) {
@@ -940,6 +941,7 @@ async function executeWorkflow(
success: data.status === 'success',
isManual: data.mode === 'manual',
userId: additionalData.userId,
runData: data,
});
// subworkflow either finished, or is in status waiting due to a wait node, both cases are considered successes here