refactor(core): Extract hooks out of workflow-execute-additional-data (no-changelog) (#12749)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-01-21 14:47:02 +01:00
committed by GitHub
parent 56c93caae0
commit ee08e9e1fe
19 changed files with 856 additions and 823 deletions

View File

@@ -40,6 +40,7 @@ import {
import type { WorkflowEntity } from '@/databases/entities/workflow-entity';
import { WorkflowRepository } from '@/databases/repositories/workflow.repository';
import { OnShutdown } from '@/decorators/on-shutdown';
import { executeErrorWorkflow } from '@/execution-lifecycle/execute-error-workflow';
import { ExecutionService } from '@/executions/execution.service';
import { ExternalHooks } from '@/external-hooks';
import type { IWorkflowDb } from '@/interfaces';
@@ -400,7 +401,7 @@ export class ActiveWorkflowManager {
status: 'running',
};
WorkflowExecuteAdditionalData.executeErrorWorkflow(workflowData, fullRunData, mode);
executeErrorWorkflow(workflowData, fullRunData, mode);
}
/**