Skip to content

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Jul 18, 2024

Fixes #33109

Thanks @TimMurphy! ... again! Although you hit a pain point with the explanation on wrapping the component hierarchy, I'm glad that you wrote in about this section (and the other one). This is vastly improved now, and it should clear up the confusion about about what the error boundary should wrap.

When this goes live, I'll ping you here with the link to it.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/fundamentals/handle-errors.md Handle errors in ASP.NET Core Blazor apps

@guardrex guardrex self-assigned this Jul 18, 2024
@guardrex guardrex merged commit cba1f5d into main Jul 18, 2024
@guardrex guardrex deleted the guardrex/blazor-errorboundary branch July 18, 2024 15:44
@guardrex
Copy link
Collaborator Author

guardrex commented Jul 18, 2024

@TimMurphy
Copy link
Contributor

TimMurphy commented Jul 18, 2024 via email

@guardrex
Copy link
Collaborator Author

If the framework features are limiting what you'd like to do, open a new feature request with the product unit at ...

https://github.com/dotnet/aspnetcore/issues

Perhaps, they'll consider your suggestion(s). First tho, search their open issues. I'm under the impression that they already know that the global exception handling experience is a bit rough. They might already be planning something for a future release. You can also look at their closed issues for any suggestions that they decided not to pursue.

@TimMurphy
Copy link
Contributor

TimMurphy commented Jul 18, 2024 via email

@guardrex
Copy link
Collaborator Author

Sure thing ... and I forgot to mention that you filter the blazor issues with label:area-blazor. A search like this might find some things ...

https://github.com/dotnet/aspnetcore/issues?q=is%3Aissue+label%3Aarea-blazor+exception+handling

@guardrex
Copy link
Collaborator Author

It turns things like this up, where there's a discussion that we were just having. Also, the revisions that I just put in should help devs understand and help with the confusion.

dotnet/aspnetcore#56413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ErrorBoundary approach for global exception handling with per-page/component rendering
2 participants