Skip to content

Commit f8ce35f

Browse files
authored
SWI-7668 Add Fallback Error in Client.cs (#89)
1 parent d9be5b1 commit f8ce35f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Bandwidth.Iris/Client.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ private async Task CheckResponse(HttpResponseMessage response)
435435
throw new BandwidthIrisException(code.Value, description.Value, response.StatusCode, doc);
436436
}
437437
}
438+
throw new BandwidthIrisException("", string.Format("Http code {0}", response.StatusCode), response.StatusCode);
438439
}
439440
catch (Exception ex) when (!(ex is BandwidthIrisException) && !(ex is AggregateException))
440441
{

0 commit comments

Comments
 (0)