Fixed broken build

pull/4/head
kay.one 13 years ago
parent 31c16b9004
commit f6ccb5e17c

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

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

Loading…
Cancel
Save