1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Added additional logging when updating episode info.

This commit is contained in:
Mark McDowall
2012-01-01 12:09:53 -08:00
parent 2cc066ccf2
commit 6bd0b8a39e
+9 -2
View File
@@ -321,8 +321,15 @@ namespace NzbDrone.Core.Providers
} }
} }
_database.InsertMany(newList); try
_database.UpdateMany(updateList); {
_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} ", Logger.Info("Finished episode refresh for series: {0}. Successful: {1} - Failed: {2} ",
tvDbSeriesInfo.SeriesName, successCount, failCount); tvDbSeriesInfo.SeriesName, successCount, failCount);