Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sessypy"
version = "0.2.5"
version = "0.2.6"
authors = [
{ name="PimDoos" },
]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sessypy
version = 0.2.5
version = 0.2.6
author = PimDoos
url = https://github.com/PimDoos/sessypy
long_description = file: README.md
Expand Down
2 changes: 2 additions & 0 deletions src/sessypy/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@ async def get_sessy_device(host: str, username: str, password: str) -> SessyDevi
_LOGGER.debug(f"System info for {host}: {system_info}")
except SessyConnectionException as e:
_LOGGER.error(f"Failed to connect to {host}: {e}")
await api.close()
raise SessyConnectionException from e
except SessyNotSupportedException as e:
_LOGGER.error(f"Device at {host} is not supported: {e}")
await api.close()
raise SessyNotSupportedException from e


Expand Down