diff --git a/framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs b/framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs index 66acd8f171c..dc1923f180d 100644 --- a/framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs +++ b/framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs @@ -166,7 +166,7 @@ protected virtual IStringLocalizer CreateLocalizer() return localizer; } - protected async Task HandleErrorAsync(Exception exception) + protected virtual async Task HandleErrorAsync(Exception exception) { Logger.LogException(exception); await InvokeAsync(async () =>