WinTLS: Improve error reporting

pull/220/merge
Nils Maier 2014-04-13 18:37:41 +02:00
parent 51beb4bfa7
commit 39d66bd560
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ std::string WinTLSSession::getLastErrorString()
(LPWSTR)&buf,
1024,
nullptr) && buf) {
ss << "Error: " << wCharToUtf8(buf);
ss << "Error: " << wCharToUtf8(buf) << "(" << std::hex << status_ << ")";
LocalFree(buf);
}
else {