We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d740f2 commit 263a0adCopy full SHA for 263a0ad
deebot_client/api_client.py
@@ -57,8 +57,10 @@ async def get_devices(self) -> list[DeviceInfo]:
57
else:
58
_LOGGER.debug("Skipping device as it is not supported: %s", device)
59
return devices
60
- _LOGGER.error("Failed to get devices")
61
- raise ApiError(f"failure {resp['error']} ({resp['errno']}) on getting devices")
+ _LOGGER.error("Failed to get devices: %s", resp)
+ raise ApiError(
62
+ f"failure {resp.get('error', '')} ({resp.get('errno', '')}) on getting devices"
63
+ )
64
65
async def get_product_iot_map(self) -> dict[str, Any]:
66
"""Get product iot map."""
0 commit comments