From 8dfdf35a6245b34493ba22e2da85bb46f18dfaad Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 26 Jan 2022 15:09:11 +0800 Subject: [PATCH] Make method HandleErrorAsync virtual --- .../Volo/Abp/AspNetCore/Components/AbpComponentBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () =>