Skip to content

Commit

Permalink
Do not stop validation if folder was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowghost committed Jun 4, 2024
1 parent 47c5e0c commit 0359035
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 0359035

Please sign in to comment.