Skip to content

Commit dd6429e

Browse files
committed
Update log message to include existing request id
1 parent 6777dd7 commit dd6429e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

roborock/api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ def _async_response(
116116
if request_id in self._waiting_queue:
117117
new_id = get_next_int(10000, 32767)
118118
_LOGGER.warning(
119-
f"Attempting to create a future with an existing request_id... New id is {new_id}. "
120-
f"Code may not function properly."
119+
"Attempting to create a future with an existing id %s... New id is %s. "
120+
"Code may not function properly.",
121+
request_id,
122+
new_id,
121123
)
122124
request_id = new_id
123125
self._waiting_queue[request_id] = queue

0 commit comments

Comments
 (0)