Skip to main content

An Unhandled Exception on the Current Circuit

You may see the following error message about an exception on the current circuit:

There was an unhandled exception on the current circuit, so this circuit will be terminated. For more information, turn on detailed exceptions in ‘CircuitOptions.DetailedErrors’.

To get more information about the error, add the following code to the Program.cs file:

builder.Services.AddServerSideBlazor().AddCircuitOptions(options => { options.DetailedErrors = true; });