feat(jobAutoControl): логика управления авто-контролем

This commit is contained in:
Mikhail Trubnikov
2024-09-12 15:05:47 +10:00
parent 0b1c52422f
commit 1af76405e2
19 changed files with 451 additions and 38 deletions

View File

@@ -41,7 +41,7 @@ namespace PARR.NextRun
var templateService = scope.ServiceProvider.GetService<ITemplateService>();
if (templateService == null || esppSchService == null)
throw new Exception("Не смог получить серивс ITemplateService или IEsppScheduleTransformService");
throw new Exception($"Не смог получить серивс {nameof(ITemplateService)} или {nameof(IEsppScheduleTransformService)}");
await HandlerAsync(templateService, esppSchService);
}