diff --git a/NzbDrone.Core/Providers/DiskScanProvider.cs b/NzbDrone.Core/Providers/DiskScanProvider.cs index 8e38bd616..be123a816 100644 --- a/NzbDrone.Core/Providers/DiskScanProvider.cs +++ b/NzbDrone.Core/Providers/DiskScanProvider.cs @@ -143,7 +143,7 @@ public virtual EpisodeFile ImportFile(Series series, string filePath) } - public virtual bool RenameEpisodeFile(EpisodeFile episodeFile) + public virtual bool MoveEpisodeFile(EpisodeFile episodeFile) { if (episodeFile == null) throw new ArgumentNullException("episodeFile"); diff --git a/NzbDrone.Core/Providers/SeriesProvider.cs b/NzbDrone.Core/Providers/SeriesProvider.cs index 0271e8ab7..896f09a02 100644 --- a/NzbDrone.Core/Providers/SeriesProvider.cs +++ b/NzbDrone.Core/Providers/SeriesProvider.cs @@ -135,10 +135,11 @@ public virtual Series FindSeries(string title) return series; } - //This will catch InvalidOperationExceptions that may be thrown for GetSeries due to the series being in SceneMapping, but not in the users Database - catch (InvalidOperationException ex) + + catch (InvalidOperationException) { - Logger.DebugException(ex.Message, ex); + //This will catch InvalidOperationExceptions(Sequence contains no element) + //that may be thrown for GetSeries due to the series being in SceneMapping, but not in the users Database return null; } }