Skip to content

Commit 0b31e56

Browse files
committed
fix: Add protocol to log message
1 parent dd3e78a commit 0b31e56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roborock/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,9 +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-
"Attempting to create a future with an existing id %s... New id is %s. "
119+
"Attempting to create a future with an existing id %s (%s)... New id is %s. "
120120
"Code may not function properly.",
121121
request_id,
122+
protocol_id,
122123
new_id,
123124
)
124125
request_id = new_id

0 commit comments

Comments
 (0)