this log message deserves a promotion!

This commit is contained in:
rusefillc 2022-02-11 11:07:38 -05:00
parent c8f1849bc2
commit 7d03120782
1 changed files with 1 additions and 2 deletions

View File

@ -79,8 +79,7 @@ public class IncomingDataBuffer {
boolean isCrcOk = actualCrc == packetCrc;
if (!isCrcOk) {
if (log.debugEnabled())
log.debug(String.format("CRC mismatch %x: vs %x", actualCrc, packetCrc));
log.error(String.format("CRC mismatch %x: vs %x", actualCrc, packetCrc));
return null;
}
onPacketArrived();