Skip to content

Commit ce0f241

Browse files
committed
refactor: 精简代码
1 parent 6f5baca commit ce0f241

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/BootstrapBlazor/Components/ErrorLogger/BootstrapBlazorErrorBoundary.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,8 @@ class BootstrapBlazorErrorBoundary : ErrorBoundaryBase
5353
/// <inheritdoc/>
5454
/// </summary>
5555
/// <param name="exception"></param>
56-
/// <returns></returns>
57-
/// <exception cref="NotImplementedException"></exception>
5856
protected override async Task OnErrorAsync(Exception exception)
5957
{
60-
// 由框架调用
61-
if (OnErrorHandleAsync != null)
62-
{
63-
await OnErrorHandleAsync(Logger, exception);
64-
return;
65-
}
66-
6758
if (ShowToast)
6859
{
6960
await ToastService.Error(ToastTitle, exception.Message);

0 commit comments

Comments
 (0)