mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02: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