Exceptions on events not calling server-side UnhandledException infrastructure #8611
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Milestone
Exceptions thrown as a result of an event handler or JS Interop call don't call the server-side UnhandledException handler. Circuits and the sync context have their own unhandled exception events, and they don't fire for JS interop.
Is this right? I suppose the idea is that the exception is handled by the JS side. One piece of this that we need to be careful about is the fact that our exceptions aren't all going through a single path. For instance we don't have any hooks in place to sanitize these exceptions in production.
The text was updated successfully, but these errors were encountered: