update channel db

This commit is contained in:
Luke Pulverenti
2015-10-04 14:10:50 -04:00
parent cf87301f45
commit 5c613f2dda
22 changed files with 178 additions and 224 deletions

View File

@@ -926,10 +926,10 @@ namespace MediaBrowser.Providers.Manager
return;
}
var item = libraryManager.GetItemById(refreshItem.Item1);
if (item != null)
try
{
try
var item = libraryManager.GetItemById(refreshItem.Item1);
if (item != null)
{
// Try to throttle this a little bit.
await Task.Delay(100).ConfigureAwait(false);
@@ -941,10 +941,10 @@ namespace MediaBrowser.Providers.Manager
await task.ConfigureAwait(false);
}
catch (Exception ex)
{
_logger.ErrorException("Error refreshing item", ex);
}
}
catch (Exception ex)
{
_logger.ErrorException("Error refreshing item", ex);
}
}