MudBlazor / Templates

Ready to use Blazor Templates in different styles and layout with all the basic setup already done for MudBlazor.
MIT License
745 stars 165 forks source link

No Exception information shown #451

Closed Apflkuacha closed 5 months ago

Apflkuacha commented 10 months ago

I just created a project with the new .NET8 Template (Interactive Mode: Server) and added that it throws an Exception on button pressed. Just added throw new Exception("test"); The result is that the page doesn't respond any more after I clicked the button and no information about an Exception is shown.

On the original .NET8 Template (without Blazor) a Message is shown like this: An unhandled error has occurred. Reload How to show such a Message in MudBlazor? That should be included in the template.

d00lar commented 6 months ago

add <div id="blazor-error-ui"> <span style="color:black">An unhandled error has occurred.</span> <a href="" class="reload">Reload</a> <a class="dismiss">🗙</a> </div> to routes.razor / index.html / depend on server/client side.