mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-16 15:24:10 +01:00
Error handling on needs refresh
This commit is contained in:
@@ -153,9 +153,16 @@ namespace MediaBrowser.Server.Implementations.Providers
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!force && !provider.NeedsRefresh(item))
|
||||
try
|
||||
{
|
||||
continue;
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user