Fix ghost entries when deleting library paths

This commit is contained in:
theguymadmax
2026-07-03 11:46:16 -04:00
parent ccc1712d10
commit 43a152359e
3 changed files with 25 additions and 6 deletions

View File

@@ -691,7 +691,7 @@ namespace Emby.Server.Implementations.IO
}
catch (Exception ex) when (ex is UnauthorizedAccessException or DirectoryNotFoundException or SecurityException)
{
_logger.LogError(ex, "Failed to enumerate path {Path}", path);
_logger.LogWarning("Failed to enumerate path \"{Path}\": {Message}", path, ex.Message);
return Enumerable.Empty<string>();
}
}