mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 01:37:07 +00:00
Added additional logging when updating episode info.
This commit is contained in:
parent
2cc066ccf2
commit
6bd0b8a39e
1 changed files with 9 additions and 2 deletions
|
@ -321,8 +321,15 @@ namespace NzbDrone.Core.Providers
|
|||
}
|
||||
}
|
||||
|
||||
_database.InsertMany(newList);
|
||||
_database.UpdateMany(updateList);
|
||||
try
|
||||
{
|
||||
_database.InsertMany(newList);
|
||||
_database.UpdateMany(updateList);
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
Logger.WarnException("Failed to update episode info for series: " + series.Title, ex);
|
||||
}
|
||||
|
||||
Logger.Info("Finished episode refresh for series: {0}. Successful: {1} - Failed: {2} ",
|
||||
tvDbSeriesInfo.SeriesName, successCount, failCount);
|
||||
|
|
Loading…
Reference in a new issue