Log reasons a release was rejected after all specs have processed
This commit is contained in:
parent
89e0b41ebc
commit
87e5d1d84f
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue