Skip to content

Log when an enhanced navigation fails #51229

@danroth27

Description

@danroth27

When an enhanced navigation fails (like when navigating to a non-Blazor page) the framework will retry the request as a normal navigation. You can prevent this duplicate request by disabling enhanced navigation when you know the endpoint isn't a Blazor endpoint using the data-enhance-nav attribute. But other than the duplicate request there isn't currently any indication that the original enhanced navigation failed. We should consider logging the enhanced navigation failure on the client so that the user has a more straight-forward way to discover that it happened.

Metadata

Metadata

Assignees

Labels

Pillar: Complete Blazor WebPriority:1Work that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-observabilityhelp candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. team

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions