We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d863c commit e39af56Copy full SHA for e39af56
src/BootstrapBlazor/Components/ErrorLogger/BootstrapBlazorErrorBoundary.cs
@@ -124,6 +124,13 @@ private MarkupString GetErrorContentMarkupString(Exception ex)
124
/// <param name="handler"></param>
125
public async Task RenderException(Exception exception, IHandlerException? handler)
126
{
127
+ // 外部调用
128
+ if (OnErrorHandleAsync != null)
129
+ {
130
+ await OnErrorHandleAsync(Logger, exception);
131
+ return;
132
+ }
133
+
134
if (handler != null)
135
136
await handler.HandlerException(exception, ExceptionContent);
0 commit comments