Skip to content

Commit

Permalink
Merge pull request jellyfin#11959 from Shadowghost/continue-validatio…
Browse files Browse the repository at this point in the history
…n-if-removed

Do not stop validation if folder was removed
  • Loading branch information
Bond-009 committed Jun 6, 2024
2 parents cc4563a + 0359035 commit cf59140
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MediaBrowser.Controller/Entities/Folder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ private async Task ValidateChildrenInternal2(IProgress<double> progress, bool re

if (IsFileProtocol)
{
IEnumerable<BaseItem> nonCachedChildren;
IEnumerable<BaseItem> nonCachedChildren = [];

try
{
Expand All @@ -373,7 +373,6 @@ private async Task ValidateChildrenInternal2(IProgress<double> progress, bool re
catch (Exception ex)
{
Logger.LogError(ex, "Error retrieving children folder");
return;
}

progress.Report(ProgressHelpers.RetrievedChildren);
Expand Down

0 comments on commit cf59140

Please sign in to comment.