Improve SSL error message

Log the type of the DCB to help figure out where the error came from.
This commit is contained in:
Markus Mäkelä 2020-09-22 16:42:16 +03:00
parent 0be629e5c5
commit c25099da01
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499

View File

@ -828,9 +828,9 @@ static int dcb_log_errors_SSL(DCB* dcb, int ret)
}
if (ret || ssl_errno)
{
MXS_ERROR("SSL operation failed, dcb %p in state "
MXS_ERROR("SSL operation failed, %s in state "
"%s fd %d return code %d. More details may follow.",
dcb,
dcb->type(),
STRDCBSTATE(dcb->state),
dcb->fd,
ret);