I've discovered that exceptions raised within event-handlers of the Upload component do not respect the ErrorBoundaries above the Upload component itself. Instead, Blazor displays its out-of-the-box "unhandled exception" error.
Is there a reason for this? What can I do to make exceptions that are raised within the Upload event-handlers get detected by Error Boudaries?
Hi Chris,
Is the ErrorBoundary component wrapping the TelerikUpload only, or is it around the parent component? I am asking because the event handlers are in the parent component, so the ErrorBoundary needs to wrap that as well - so it needs to be one level higher.
Hi Marin,
The ErrorBoundary is at the App.razor level - wrapping the Router.
I had also tried adding a lower-level ErrorBoundary as the direct parent of the TelerikUpload - but I was getting the same behavior (Blazor unhandled exception).