diff --git a/CoinbasePro/Network/HttpClient/HttpClient.cs b/CoinbasePro/Network/HttpClient/HttpClient.cs index c5f13203..ff2d5047 100644 --- a/CoinbasePro/Network/HttpClient/HttpClient.cs +++ b/CoinbasePro/Network/HttpClient/HttpClient.cs @@ -17,8 +17,15 @@ public async Task SendAsync( HttpRequestMessage httpRequestMessage, CancellationToken cancellationToken) { - var result = await Client.SendAsync(httpRequestMessage, cancellationToken); - return result; + try + { + var result = await Client.SendAsync(httpRequestMessage, cancellationToken); + return result; + } + catch (TaskCanceledException) + { + throw; + } } public async Task ReadAsStringAsync(HttpResponseMessage httpRequestMessage)