mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Drone factory would throw exception on unknown series instead of proper error.
This commit is contained in:
@@ -132,7 +132,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||
if (series == null)
|
||||
{
|
||||
_logger.Debug("Unknown Series for file: {0}", fileInfo.Name);
|
||||
return new List<ImportResult>() { new ImportResult(null, String.Format("Unknown Series for file: {0}", fileInfo.Name)) };
|
||||
return new List<ImportResult>() { new ImportResult(new ImportDecision(new LocalEpisode { Path = fileInfo.FullName }, "Unknown Series"), String.Format("Unknown Series for file: {0}", fileInfo.Name)) };
|
||||
}
|
||||
|
||||
if (_diskProvider.IsFileLocked(fileInfo.FullName))
|
||||
|
||||
Reference in New Issue
Block a user