mirror of
https://github.com/Radarr/Radarr
synced 2026-03-03 19:12:18 +01:00
New: Log rejections/acceptance before importing files
This commit is contained in:
parent
7c5daa6000
commit
714ce2640b
1 changed files with 8 additions and 0 deletions
|
|
@ -129,6 +129,14 @@ private ImportDecision GetDecision(string file, Series series, DownloadClientIte
|
|||
{
|
||||
_logger.Error("Unable to make a decision on {0}", file);
|
||||
}
|
||||
else if (decision.Rejections.Any())
|
||||
{
|
||||
_logger.Debug("File rejected for the following reasons: {0}", string.Join(", ", decision.Rejections));
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Debug("File accepted");
|
||||
}
|
||||
|
||||
return decision;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue