mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Better trace messaging for Download Decision specs
Fixed: Trace logs will contain more details when a release is rejected
This commit is contained in:
@@ -40,7 +40,12 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
||||
|
||||
var queue = downloadClient.GetQueue().Select(q => q.RemoteEpisode);
|
||||
|
||||
return !IsInQueue(subject, queue);
|
||||
if (IsInQueue(subject, queue))
|
||||
{
|
||||
_logger.Trace("Already in queue, rejecting.");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool IsInQueue(RemoteEpisode newEpisode, IEnumerable<RemoteEpisode> queue)
|
||||
|
||||
Reference in New Issue
Block a user