From c29e49da95d79cc77c9a787abf0fc58022759f09 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Thu, 25 Feb 2016 19:44:29 +0100 Subject: [PATCH] Clarified error message in MatchesFolderSpecification. --- .../Specifications/MatchesFolderSpecification.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/MatchesFolderSpecification.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/MatchesFolderSpecification.cs index 02c293328..0b80873c2 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/MatchesFolderSpecification.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/MatchesFolderSpecification.cs @@ -54,10 +54,10 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications 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();