diff --git a/Bandwidth.Iris/Client.cs b/Bandwidth.Iris/Client.cs index 91aeed6..b242de9 100644 --- a/Bandwidth.Iris/Client.cs +++ b/Bandwidth.Iris/Client.cs @@ -435,6 +435,7 @@ private async Task CheckResponse(HttpResponseMessage response) throw new BandwidthIrisException(code.Value, description.Value, response.StatusCode, doc); } } + throw new BandwidthIrisException("", string.Format("Http code {0}", response.StatusCode), response.StatusCode); } catch (Exception ex) when (!(ex is BandwidthIrisException) && !(ex is AggregateException)) {