Additional logging when an import decision cannot be made

This commit is contained in:
Mark McDowall 2017-05-24 21:57:04 -07:00
parent ec3dd982f6
commit 285288db1a
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
decision = new ImportDecision(localEpisode, new Rejection("Unexpected error processing file"));
}
if (decision == null)
{
_logger.Error("Unable to make a decision on {0}", file);
}
return decision;
}