Try/catch for exchange rates fetching

pull/3383/head
Victor Baranov 4 years ago
parent 78ecca256c
commit 1ac63b5fac
  1. 2
      apps/explorer/lib/explorer/exchange_rates/source.ex

@ -41,6 +41,8 @@ defmodule Explorer.ExchangeRates.Source do
{:error, :nxdomain} ->
{:error, "CoinGecko is not responsive"}
end
after
{:error, ""}
end
@doc """

Loading…
Cancel
Save