From cbb681165e249d2ce4f03892c8ed8eaa08d64dfe Mon Sep 17 00:00:00 2001 From: Kareem Date: Fri, 23 Aug 2024 12:46:48 -0700 Subject: [PATCH] Log error code in TranslateIoReturnCode. --- src/wolfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfio.c b/src/wolfio.c index 422ea1ff53..177e2d8be2 100644 --- a/src/wolfio.c +++ b/src/wolfio.c @@ -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; }