small fix in get_exchange_rates (#1365)

While running tests, the print(e) was printing an annoying list of
currencies. Removing it it is also more coherent with the other
currencies providers below.
This commit is contained in:
jerry 2024-07-07 11:15:54 +00:00 committed by GitHub
parent 62c16c0e91
commit 35d37e6328
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,8 +188,7 @@ def get_exchange_rates(currencies):
blockchain_rates.append(
float(blockchain_prices[currency]["last"])
)
except Exception as e:
print(e)
except Exception:
blockchain_rates.append(np.nan)
api_rates.append(blockchain_rates)