Skip to content

Commit 2b69a1a

Browse files
authored
Update src/tooling/docs-assembler/Navigation/GlobalNavigationHtmlWriter.cs
1 parent 23fc05a commit 2b69a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooling/docs-assembler/Navigation/GlobalNavigationHtmlWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class GlobalNavigationHtmlWriter(ILoggerFactory logFactory, GlobalNavigat
1919
public async Task<NavigationRenderResult> RenderNavigation(IRootNavigationItem<INavigationModel, INavigationItem> currentRootNavigation, int maxLevel, Cancel ctx = default)
2020
{
2121
if (currentRootNavigation.Parent is not null && currentRootNavigation.Parent.Depth != 0)
22-
collector.EmitGlobalError($"Passed root is not actually a root {currentRootNavigation.NavigationTitle} ({currentRootNavigation.Id}) in {currentRootNavigation.Url}");
22+
collector.EmitGlobalError($"Passed root is not actually a top level navigation item {currentRootNavigation.NavigationTitle} ({currentRootNavigation.Id}) in {currentRootNavigation.Url}");
2323

2424
if (_renderedNavigationCache.TryGetValue((currentRootNavigation.Id, maxLevel), out var html))
2525
{

0 commit comments

Comments
 (0)