Error handling on needs refresh

pull/702/head
Luke Pulverenti 12 years ago
parent 7faf2be79b
commit 1054994645

@ -153,10 +153,17 @@ namespace MediaBrowser.Server.Implementations.Providers
continue;
}
try
{
if (!force && !provider.NeedsRefresh(item))
{
continue;
}
}
catch (Exception ex)
{
_logger.Error("Error determining NeedsRefresh for {0}", ex, item.Path);
}
currentTasks.Add(FetchAsync(provider, item, force, cancellationToken));
currentPriority = provider.Priority;

Loading…
Cancel
Save