Skip to content

Commit d9f145b

Browse files
committed
Log exception details on switch read failure
1 parent dcb9340 commit d9f145b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

homeassistant/components/hr_energy_qube/coordinator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ async def _async_update_data(self) -> QubeState:
5252
try:
5353
self.switches = await self.client.read_all_switches()
5454
except ConnectionError, TimeoutError, OSError:
55-
_LOGGER.warning("Failed to read switch states from Qube heat pump")
55+
_LOGGER.warning(
56+
"Failed to read switch states from Qube heat pump", exc_info=True
57+
)
5658

5759
return data

0 commit comments

Comments
 (0)