Browse Source

Make method HandleErrorAsync virtual

pull/11467/head
liangshiwei 4 years ago
parent
commit
8dfdf35a62
  1. 2
      framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs

2
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs

@ -166,7 +166,7 @@ public abstract class AbpComponentBase : OwningComponentBase
return localizer; return localizer;
} }
protected async Task HandleErrorAsync(Exception exception) protected virtual async Task HandleErrorAsync(Exception exception)
{ {
Logger.LogException(exception); Logger.LogException(exception);
await InvokeAsync(async () => await InvokeAsync(async () =>

Loading…
Cancel
Save