mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Don't try to move episode file that does not exist
#ND-144 fixed
This commit is contained in:
@@ -191,6 +191,12 @@ namespace NzbDrone.Core.Providers
|
||||
return null;
|
||||
}
|
||||
|
||||
if(!_diskProvider.FileExists(episodeFile.Path))
|
||||
{
|
||||
Logger.Error("Episode file path does not exist, {0}", episodeFile.Path);
|
||||
return null;
|
||||
}
|
||||
|
||||
_diskProvider.CreateDirectory(newFile.DirectoryName);
|
||||
|
||||
Logger.Debug("Moving [{0}] > [{1}]", episodeFile.Path, newFile.FullName);
|
||||
|
Reference in New Issue
Block a user