From f6ec0ec3b43e6577be73d305d068f7ad4b2ec26f Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Mon, 23 Dec 2024 20:47:21 +0100 Subject: [PATCH] fix --- .../Services/ClientExceptionHandlerBase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Services/ClientExceptionHandlerBase.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Services/ClientExceptionHandlerBase.cs index 34ee371bd1..b62543db6d 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Services/ClientExceptionHandlerBase.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Services/ClientExceptionHandlerBase.cs @@ -58,8 +58,7 @@ protected virtual void Handle(Exception exception, { MessageBoxService.Show(exceptionMessageToShow, Localizer[nameof(AppStrings.Error)]); } - - if (isDevEnv) + else if (displayKind is ExceptionDisplayKind.None && isDevEnv) { Debugger.Break(); }