this should fix some more tests.

This commit is contained in:
Keivan Beigi 2013-02-22 15:55:43 -08:00
commit d722a8357b
12 changed files with 22 additions and 19 deletions

View file

@ -58,7 +58,10 @@ namespace NzbDrone.Core.Jobs
}
else
{
seriesToUpdate = new List<Series> { _seriesRepository.Get(options.SeriesId) };
seriesToUpdate = new List<Series>
{
_seriesRepository.Get((int)options.SeriesId)
};
}
//Update any Daily Series in the DB with the IsDaily flag
@ -74,11 +77,11 @@ namespace NzbDrone.Core.Jobs
notification.CurrentMessage = "Update completed for " + series.Title;
}
catch(Exception ex)
catch (Exception ex)
{
Logger.ErrorException("Failed to update episode info for series: " + series.Title, ex);
}
}
}
}