mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 21:39:34 +02:00
Moved try/catch for failed refresh episode info to job.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user