Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenroche5 committed Dec 14, 2023
1 parent b7722bb commit a98f3c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions n_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ const char * NoteBinaryStoreReceive(uint8_t *buffer, uint32_t bufLen,
// Ensure the decoded length matches the caller's expectations.
if (decodedLen != decLen) {
const char *err = ERRSTR("length mismatch after decoding", c_err);
NoteDebugf("decodedLen: %d, decLen: %d\n", decodedLen, decLen);
NOTE_C_LOG_ERROR(err);
// Queue a reset when a problem is detected, otherwise `note-c` will
// attempt to allocate memory to receive the response.
Expand Down

0 comments on commit a98f3c7

Please sign in to comment.