mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
feat(core): Add error reporting for workflow evaluation (no-changelog) (#12838)
Co-authored-by: oleg <me@olegivaniv.com>
This commit is contained in:
@@ -19,6 +19,7 @@ import * as CrashJournal from '@/crash-journal';
|
||||
import * as Db from '@/db';
|
||||
import { getDataDeduplicationService } from '@/deduplication';
|
||||
import { DeprecationService } from '@/deprecation/deprecation.service';
|
||||
import { TestRunnerService } from '@/evaluation.ee/test-runner/test-runner.service.ee';
|
||||
import { MessageEventBus } from '@/eventbus/message-event-bus/message-event-bus';
|
||||
import { TelemetryEventRelay } from '@/events/relays/telemetry.event-relay';
|
||||
import { initExpressionEvaluator } from '@/expression-evaluator';
|
||||
@@ -259,6 +260,10 @@ export abstract class BaseCommand extends Command {
|
||||
Container.get(WorkflowHistoryManager).init();
|
||||
}
|
||||
|
||||
async cleanupTestRunner() {
|
||||
await Container.get(TestRunnerService).cleanupIncompleteRuns();
|
||||
}
|
||||
|
||||
async finally(error: Error | undefined) {
|
||||
if (inTest || this.id === 'start') return;
|
||||
if (Db.connectionState.connected) {
|
||||
|
||||
Reference in New Issue
Block a user