Log reasons a release was rejected after all specs have processed

This commit is contained in:
Mark McDowall 2014-03-20 16:52:19 -07:00
parent 89e0b41ebc
commit 87e5d1d84f
1 changed files with 5 additions and 0 deletions

View File

@ -97,6 +97,11 @@ namespace NzbDrone.Core.DecisionEngine
if (decision != null)
{
if (decision.Rejections.Any())
{
_logger.Debug("Release rejected for the following reasons: {0}", String.Join(", ", decision.Rejections));
}
yield return decision;
}
}