Log failing to connect as info instead of exception

These are normal, expected errors, and while we should probably
re-evaluate the connectors in some way, pending that, there's no need to
log these as unepected errors, which causes confusion and clutters my
error logging.
This commit is contained in:
Mouse Reeve 2022-07-11 08:46:47 -07:00
parent 137311e006
commit 5706028656

View file

@ -53,7 +53,7 @@ async def get_results(session, url, min_confidence, query, connector):
except asyncio.TimeoutError:
logger.info("Connection timed out for url: %s", url)
except aiohttp.ClientError as err:
logger.exception(err)
logger.info(err)
async def async_connector_search(query, items, min_confidence):