mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Moved try/catch for failed refresh episode info to job.
This commit is contained in:
parent
e958a019ed
commit
e4985cbd66
2 changed files with 19 additions and 14 deletions
|
@ -321,15 +321,8 @@ namespace NzbDrone.Core.Providers
|
|||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
_database.InsertMany(newList);
|
||||
_database.UpdateMany(updateList);
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
Logger.WarnException("Failed to update episode info for series: " + series.Title, ex);
|
||||
}
|
||||
_database.InsertMany(newList);
|
||||
_database.UpdateMany(updateList);
|
||||
|
||||
Logger.Info("Finished episode refresh for series: {0}. Successful: {1} - Failed: {2} ",
|
||||
tvDbSeriesInfo.SeriesName, successCount, failCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue