Wrap `OnNavigateTo` from https://github.com/dotnet/aspnetcore/blob/ee050bd56bdf2b653d4bad75f26ba8802a4f58fa/src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.EventDispatch.cs#L126 passed to `NavigationManager`'s initialization here: https://github.com/dotnet/aspnetcore/blob/ee050bd56bdf2b653d4bad75f26ba8802a4f58fa/src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.cs#L86 in `GetErrorHandledTask` method, like we do for not found: https://github.com/dotnet/aspnetcore/blob/ee050bd56bdf2b653d4bad75f26ba8802a4f58fa/src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.cs#L90 because in `RemoteNavigationManager` we are invoking it without waiting for async-thrown exceptions: https://github.com/dotnet/aspnetcore/blob/ee050bd56bdf2b653d4bad75f26ba8802a4f58fa/src/Components/Server/src/Circuits/RemoteNavigationManager.cs#L118 `GetErrorHandledTask` would log them.