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:
parent
ec3dd982f6
commit
285288db1a
@ -118,6 +118,11 @@ private ImportDecision GetDecision(string file, Series series, DownloadClientIte
|
|||||||
decision = new ImportDecision(localEpisode, new Rejection("Unexpected error processing file"));
|
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;
|
return decision;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user