diff --git a/src/Microsoft.Azure.SignalR.Management/Resilient/TimeoutHttpMessageHandler.cs b/src/Microsoft.Azure.SignalR.Management/Resilient/TimeoutHttpMessageHandler.cs index 270c35842..8b28a1768 100644 --- a/src/Microsoft.Azure.SignalR.Management/Resilient/TimeoutHttpMessageHandler.cs +++ b/src/Microsoft.Azure.SignalR.Management/Resilient/TimeoutHttpMessageHandler.cs @@ -42,7 +42,7 @@ protected override async Task SendAsync(HttpRequestMessage } catch (OperationCanceledException ex) when (!cancellationToken.IsCancellationRequested) { - throw new TaskCanceledException($"The request was canceled due to the configured HttpClient.Timeout of {_timeout.TotalSeconds} seconds elapsing.", new TimeoutException(ex.Message, ex)); + throw new TaskCanceledException($"The request was canceled because the configured HttpClient.Timeout of {_timeout.TotalSeconds} seconds elapsed.", new TimeoutException(ex.Message, ex)); } } return await base.SendAsync(request, cancellationToken);