Skip to content

Commit

Permalink
[lifx] Improved error message (openhab#5405)
Browse files Browse the repository at this point in the history
Fixes openhab#5404

Signed-off-by: Pauli Anttila <[email protected]>
  • Loading branch information
paulianttila authored and wborn committed Apr 6, 2019
1 parent b312502 commit 30f3892
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ private void removeFailedPackets() {
while (it.hasNext()) {
PendingPacket pendingPacket = it.next();
if (pendingPacket.sendCount > MAX_RETRIES && pendingPacket.hasAcknowledgeIntervalElapsed()) {
logger.warn("{} failed (unacknowledged {} times)",
pendingPacket.packet.getClass().getSimpleName(), pendingPacket.sendCount);
logger.warn("{} failed (unacknowledged {} times to light {})",
pendingPacket.packet.getClass().getSimpleName(), pendingPacket.sendCount, logId);
it.remove();
}
}
Expand Down

0 comments on commit 30f3892

Please sign in to comment.