1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Clarified error message in MatchesFolderSpecification.

This commit is contained in:
Taloth Saldono 2016-02-25 19:44:29 +01:00
parent 79c565911c
commit c29e49da95

View File

@ -54,10 +54,10 @@ public Decision IsSatisfiedBy(LocalEpisode localEpisode)
if (unexpected.Count == 1)
{
return Decision.Reject("Episode Number {0} was unexpected", unexpected.First());
return Decision.Reject("Episode Number {0} was unexpected considering the {1} folder name", unexpected.First(), dirInfo.Name);
}
return Decision.Reject("Episode Numbers {0} were unexpected", string.Join(", ", unexpected));
return Decision.Reject("Episode Numbers {0} were unexpected considering the {1} folder name", string.Join(", ", unexpected), dirInfo.Name);
}
return Decision.Accept();