mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-29 02:45:46 -04:00
Preventing more errors when move fails
This commit is contained in:
@@ -68,6 +68,13 @@ public List<ImportDecision> Import(List<ImportDecision> decisions, bool newDownl
|
||||
if (newDownload)
|
||||
{
|
||||
episodeFile = _episodeFileUpgrader.UpgradeEpisodeFile(episodeFile, localEpisode);
|
||||
|
||||
if (episodeFile == null)
|
||||
{
|
||||
_logger.Error("Failed to move [{0}], aborting processing", localEpisode);
|
||||
continue;
|
||||
}
|
||||
|
||||
_messageAggregator.PublishEvent(new EpisodeImportedEvent(episodeFile));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user