More useful PKC logging (#4742)

This commit is contained in:
Jonathan Bennett
2024-09-17 06:31:39 -05:00
committed by GitHub
parent 11378325e0
commit a967dd52f3
2 changed files with 8 additions and 4 deletions

View File

@@ -347,8 +347,11 @@ bool perhapsDecode(meshtastic_MeshPacket *p)
// memcpy(bytes, ScratchEncrypted, rawSize); // TODO: Rename the bytes buffers
// chIndex = 8;
} else {
LOG_ERROR("PKC Decrypted, but pb_decode failed!\n");
return false;
}
} else {
LOG_WARN("PKC decrypt attempted but failed!\n");
}
}
#endif