Skip to content

Exceptions on events not calling server-side UnhandledException infrastructure #8611

@rynowak

Description

@rynowak

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.

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions