dashboard: surface lazy-load errors via BrowseLoadState.Error

This commit is contained in:
Joseph Doherty
2026-05-28 13:15:26 -04:00
parent 310dfab8b4
commit 5932fe2fd3
2 changed files with 20 additions and 0 deletions
@@ -232,6 +232,11 @@
private async Task LoadChildrenAsync(DashboardBrowseNode node)
{
BrowseLevelResult result = BrowseService.GetChildren(node.Object.GobjectId, new BrowseFilterArgs());
if (!string.IsNullOrEmpty(result.Error))
{
throw new InvalidOperationException(result.Error);
}
node.Children.Clear();
foreach (DashboardBrowseNode child in result.Nodes)
{