refactor(core): Use type-safe event emitters (no-changelog) (#10234)
This commit is contained in:
committed by
GitHub
parent
99dc56c7a1
commit
1fca3af335
@@ -360,11 +360,10 @@ export async function executeWebhook(
|
||||
NodeExecuteFunctions,
|
||||
executionMode,
|
||||
);
|
||||
Container.get(WorkflowStatisticsService).emit(
|
||||
'nodeFetchedData',
|
||||
workflow.id,
|
||||
workflowStartNode,
|
||||
);
|
||||
Container.get(WorkflowStatisticsService).emit('nodeFetchedData', {
|
||||
workflowId: workflow.id,
|
||||
node: workflowStartNode,
|
||||
});
|
||||
} catch (err) {
|
||||
// Send error response to webhook caller
|
||||
const errorMessage = 'Workflow Webhook Error: Workflow could not be started!';
|
||||
|
||||
Reference in New Issue
Block a user