From 9b3af96222d6c9e3846a1c3285a7b3e7e5d47bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20S=C5=82omkowski?= Date: Sun, 13 Dec 2015 02:43:05 +0100 Subject: [PATCH] Add additional receive error message. --- src/Transport.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Transport.cpp b/src/Transport.cpp index a37c678..a65bf28 100644 --- a/src/Transport.cpp +++ b/src/Transport.cpp @@ -312,6 +312,8 @@ void mumlib::Transport::doReceiveSsl() { doReceiveSsl(); } else { + logger.error("SSL receiver error: %s. Bytes transferred: %d.", + ec.message().c_str(), bytesTransferred); throwTransportException("receive failed: " + ec.message()); } });