Skip to content

Commit 335ed33

Browse files
committed
Update logger-warnings
1 parent 744b290 commit 335ed33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise_usb/connection/queue.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ async def _send_queue_worker(self) -> None:
194194

195195
queue_depth = self._stick.queue_depth - self._submit_queue.dropped_msgs
196196
if queue_depth > 3:
197-
_LOGGER.warning("Awaiting plugwise responses %d", queue_depth)
197+
_LOGGER.warning("Awaiting responses %d", queue_depth)
198+
_LOGGER.warning("Requests dropped: %d", self._submit_queue.dropped_msgs)
198199
await sleep(0.125)
199200

200201
await self._stick.write_to_stick(request)

0 commit comments

Comments
 (0)