1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

New: Improve accepted and rejected release logging

Closes #8236

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2023-04-22 20:23:55 -05:00
parent a7ba1a6454
commit 5727e7c43b
2 changed files with 14 additions and 10 deletions
@@ -141,11 +141,11 @@ namespace NzbDrone.Core.DecisionEngine
{
if (decision.Rejections.Any())
{
_logger.Debug("Release rejected for the following reasons: {0}", string.Join(", ", decision.Rejections));
_logger.Debug("Release '{0}' from '{1}' rejected for the following reasons: {2}", report.Title, report.Indexer, string.Join(", ", decision.Rejections));
}
else
{
_logger.Debug("Release accepted");
_logger.Debug("Release '{0}' from '{1}' accepted", report.Title, report.Indexer);
}
yield return decision;