Bump tooling to target Python version 3.11 (#4666)

This commit is contained in:
Stefan Agner
2023-11-03 12:02:55 +01:00
committed by GitHub
parent a0c12e7228
commit 38d5d2307f
19 changed files with 23 additions and 30 deletions

View File

@@ -77,7 +77,7 @@ class APIProxy(CoreSysAttributes):
_LOGGER.error("Error on API for request %s", path)
except aiohttp.ClientError as err:
_LOGGER.error("Client error on API %s request %s", path, err)
except asyncio.TimeoutError:
except TimeoutError:
_LOGGER.error("Client timeout error on API request %s", path)
raise HTTPBadGateway()