Skip to content

Commit

Permalink
Log error code in TranslateIoReturnCode.
Browse files Browse the repository at this point in the history
  • Loading branch information
kareem-wolfssl committed Aug 23, 2024
1 parent 88d4f48 commit cbb6811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wolfio.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static int TranslateIoReturnCode(int err, SOCKET_T sd, int direction)
NULL);
WOLFSSL_MSG(errstr);
#else
WOLFSSL_MSG("\tGeneral error");
WOLFSSL_MSG_EX("\tGeneral error: %d", err);
#endif
return WOLFSSL_CBIO_ERR_GENERAL;
}
Expand Down

0 comments on commit cbb6811

Please sign in to comment.