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 Nov 15, 2024
1 parent e1116e8 commit bb82be3
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 bb82be3

Please sign in to comment.