diff --git a/pybravia/__init__.py b/pybravia/__init__.py index b5a603d..e2bdee7 100644 --- a/pybravia/__init__.py +++ b/pybravia/__init__.py @@ -10,4 +10,4 @@ BraviaTVNotSupported, ) -__version__ = "0.2.1" +__version__ = "0.2.2" diff --git a/pybravia/client.py b/pybravia/client.py index d8a582d..bda714f 100644 --- a/pybravia/client.py +++ b/pybravia/client.py @@ -177,6 +177,9 @@ async def send_req( except ClientError as err: _LOGGER.debug("Request error %s", err) raise BraviaTVConnectionError from err + except ConnectionError as err: + _LOGGER.debug("Connection error %s", err) + raise BraviaTVConnectionError from err except asyncio.exceptions.TimeoutError as err: _LOGGER.debug("Request timeout %s", err) raise BraviaTVConnectionTimeout from err diff --git a/pyproject.toml b/pyproject.toml index 3e456e4..e8571f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pybravia" -version = "0.2.1" +version = "0.2.2" description = "Python async library for remote control of Sony Bravia TVs 2013 and newer." authors = ["Arem Draft "] license = "MIT"