mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
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:
parent
137311e006
commit
5706028656
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue