1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

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

View File

@ -118,6 +118,11 @@ private ImportDecision GetDecision(string file, Series series, DownloadClientIte
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;
}