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
commit 87e5d1d84f

View file

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