Merge pull request #2217 from bookwyrm-social/connector-exceptions

Log failing to connect as info instead of exception
This commit is contained in:
Mouse Reeve 2022-07-11 09:04:01 -07:00 committed by GitHub
commit 77bff3b263
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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