diff options
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/kvmd/streamer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/streamer.py b/kvmd/apps/kvmd/streamer.py index c3d9bbe8..7c9b2419 100644 --- a/kvmd/apps/kvmd/streamer.py +++ b/kvmd/apps/kvmd/streamer.py @@ -100,7 +100,7 @@ class Streamer: # pylint: disable=too-many-instance-attributes async with self.__http_session.get(url, timeout=self.__timeout) as response: # type: ignore response.raise_for_status() state = (await response.json())["result"] - except aiohttp.ClientConnectorError: + except (aiohttp.ClientConnectionError, aiohttp.ServerConnectionError): pass except Exception: get_logger().exception("Invalid streamer response from /state") |