diff --git a/BTCPayServer.Rating/Providers/RipioExchangeProvider.cs b/BTCPayServer.Rating/Providers/RipioExchangeProvider.cs index 3294f40d6..2647dec3a 100644 --- a/BTCPayServer.Rating/Providers/RipioExchangeProvider.cs +++ b/BTCPayServer.Rating/Providers/RipioExchangeProvider.cs @@ -21,6 +21,7 @@ namespace BTCPayServer.Services.Rates public async Task GetRatesAsync(CancellationToken cancellationToken) { var response = await _httpClient.GetAsync("https://api.exchange.ripio.com/api/v1/rate/all/", cancellationToken); + response.EnsureSuccessStatusCode(); var jarray = (JArray)(await response.Content.ReadAsAsync(cancellationToken)); return jarray .Children()