Fixed broken build

This commit is contained in:
kay.one 2011-06-21 18:22:52 -07:00
parent 31c16b9004
commit f6ccb5e17c
2 changed files with 5 additions and 4 deletions

View File

@ -143,7 +143,7 @@ namespace NzbDrone.Core.Providers
} }
public virtual bool RenameEpisodeFile(EpisodeFile episodeFile) public virtual bool MoveEpisodeFile(EpisodeFile episodeFile)
{ {
if (episodeFile == null) if (episodeFile == null)
throw new ArgumentNullException("episodeFile"); throw new ArgumentNullException("episodeFile");

View File

@ -135,10 +135,11 @@ namespace NzbDrone.Core.Providers
return series; 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; return null;
} }
} }