1
0

exchange_rate: cleaner log line for "failed fx history"

related a38e723b40
This commit is contained in:
SomberNight
2023-10-19 17:15:41 +00:00
parent 22a8348303
commit 687171c36a

View File

@@ -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: