Skip to content

Commit c911eb9

Browse files
committed
fix: correct typos in log messages
1 parent 148a6fa commit c911eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roborock/mqtt/roborock_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async def _run_task(self, start_future: asyncio.Future[None] | None) -> None:
118118
if start_future:
119119
_LOGGER.debug("MQTT loop was cancelled")
120120
start_future.set_exception(err)
121-
_LOGGER.debug("MQTT loop was cancelled whiel starting")
121+
_LOGGER.debug("MQTT loop was cancelled while starting")
122122
return
123123
# Catch exceptions to avoid crashing the loop
124124
# and to allow the loop to retry.
@@ -160,7 +160,7 @@ async def _mqtt_client(self, params: MqttParams) -> aiomqtt.Client:
160160
async with self._client_lock:
161161
self._client = client
162162
for topic in self._listeners:
163-
_LOGGER.debug("Re-establising subscription to topic %s", topic)
163+
_LOGGER.debug("Re-establishing subscription to topic %s", topic)
164164
# TODO: If this fails it will break the whole connection. Make
165165
# this retry again in the background with backoff.
166166
await client.subscribe(topic)

0 commit comments

Comments
 (0)