From 2bb026cba7937fff967aef0db33563bc731ef87d Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Tue, 29 Apr 2025 15:38:40 -0400 Subject: [PATCH] SWI-7668 Add Fallback Error in Client.cs --- Bandwidth.Iris/Client.cs | 1 + 1 file changed, 1 insertion(+) 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)) {