Additional logging when an import decision cannot be made
This commit is contained in:
parent
ec3dd982f6
commit
285288db1a
|
@ -118,6 +118,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
||||||
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