fix(core): Restore log event n8n.workflow.failed (#10253)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user