Browse Source

exchange_rate: cleaner log line for "failed fx history"

related a38e723b40
master
SomberNight 2 years ago
parent
commit
687171c36a
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/exchange_rate.py

2
electrum/exchange_rate.py

@ -121,7 +121,7 @@ class ExchangeBase(Logger):
self.logger.info(f"requesting fx history for {ccy}")
h = await self.request_history(ccy)
self.logger.info(f"received fx history for {ccy}")
except (aiohttp.ClientError, asyncio.TimeoutError) as e:
except (aiohttp.ClientError, asyncio.TimeoutError, OSError) as e:
self.logger.info(f"failed fx history: {repr(e)}")
return
except Exception as e:

Loading…
Cancel
Save