1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-30 19:31:35 +00:00

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 @@ 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");

View file

@ -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;
}
}