Skip to content

Commit 69b5c58

Browse files
committed
fix
1 parent cfc97c2 commit 69b5c58

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Extensions/IClientCoreServiceCollectionExtensions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ public static IServiceCollection AddClientCoreProjectServices(this IServiceColle
164164
{
165165
return await authManager.RefreshToken(requestedBy: nameof(HubConnectionBuilder));
166166
}
167-
catch (ServerConnectionException) { /* If client gets disconnected and access token become expired, then this code will be called every few seconds and will show annoying error to the user. */ }
167+
catch (ServerConnectionException)
168+
{ } // If the client disconnects and the access token expires, this code will execute repeatedly every few seconds, causing an annoying error message to be displayed to the user.
168169
}
169170

170171
return accessToken;

src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Services/Contracts/IExceptionHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public enum ExceptionDisplayKind
1717
/// </summary>
1818
NonInterrupting,
1919
/// <summary>
20-
/// Exception display kind gets chosen by exception type automatically.
20+
/// Automatically selects the exception display type based on the exception category.
2121
/// </summary>
2222
Default
2323
}

0 commit comments

Comments
 (0)