Skip to content

Commit 7d045a5

Browse files
committed
fix: log an explicit message when intentionally resetting the connection
1 parent 14f03c7 commit 7d045a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roborock/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def should_keepalive(self) -> bool:
9191

9292
async def validate_connection(self) -> None:
9393
if not self.should_keepalive():
94+
self._logger.info("Resetting Roborock connection due to kepalive timeout")
9495
await self.async_disconnect()
9596
await self.async_connect()
9697

0 commit comments

Comments
 (0)