New: Log rejections/acceptance before importing files

Mark McDowall 7 years ago
parent 7c5daa6000
commit 714ce2640b
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0

@ -129,6 +129,14 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
{
_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…
Cancel
Save