Skip to content

Commit 49386a9

Browse files
authored
Break on user-unhandled exceptions (#255)
1 parent 0de756a commit 49386a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Reactor/Hosting/ReactorHost.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ void RecoverFromHookOrder(HookOrderException ex, RenderContext ctx, string mode)
570570
}
571571
catch (Exception ex)
572572
{
573+
Debugger.BreakForUserUnhandledException(ex);
573574
_logger?.LogError(ex, "Component Render() threw");
574575
ShowErrorFallback(ex);
575576
return;

0 commit comments

Comments
 (0)