fixed missing notification configuration

This commit is contained in:
Flaminel
2025-02-22 03:02:51 +02:00
parent c65c85a0c5
commit e8d287de84
4 changed files with 13 additions and 5 deletions
@@ -37,7 +37,7 @@ public sealed record DownloadCleanerConfig : IJobConfig
if (Categories?.GroupBy(x => x.Name).Any(x => x.Count() > 1) is true)
{
throw new ValidationException("duplicated categories found");
throw new ValidationException("duplicated clean categories found");
}
Categories?.ForEach(x => x.Validate());
@@ -54,7 +54,7 @@ public sealed record DownloadCleanerConfig : IJobConfig
if (NoHardLinksCategories.Contains(NoHardLinksCategory))
{
throw new ValidationException("NO_HARDLINKS_CATEGORY is present in the list of filtered categories");
throw new ValidationException("NO_HARDLINKS_CATEGORY is present in NO_HARDLINKS_CATEGORIES");
}
if (NoHardLinksCategories.Any(string.IsNullOrEmpty))