Do not stop validation if folder was removed

This commit is contained in:
Shadowghost 2024-06-04 23:14:45 +02:00
parent 47c5e0c2c7
commit 0359035000

View File

@ -364,7 +364,7 @@ namespace MediaBrowser.Controller.Entities
if (IsFileProtocol) if (IsFileProtocol)
{ {
IEnumerable<BaseItem> nonCachedChildren; IEnumerable<BaseItem> nonCachedChildren = [];
try try
{ {
@ -373,7 +373,6 @@ namespace MediaBrowser.Controller.Entities
catch (Exception ex) catch (Exception ex)
{ {
Logger.LogError(ex, "Error retrieving children folder"); Logger.LogError(ex, "Error retrieving children folder");
return;
} }
progress.Report(ProgressHelpers.RetrievedChildren); progress.Report(ProgressHelpers.RetrievedChildren);