mirror of https://github.com/aria2/aria2
WinTLS: Improve error reporting
parent
51beb4bfa7
commit
39d66bd560
|
@ -805,7 +805,7 @@ std::string WinTLSSession::getLastErrorString()
|
||||||
(LPWSTR)&buf,
|
(LPWSTR)&buf,
|
||||||
1024,
|
1024,
|
||||||
nullptr) && buf) {
|
nullptr) && buf) {
|
||||||
ss << "Error: " << wCharToUtf8(buf);
|
ss << "Error: " << wCharToUtf8(buf) << "(" << std::hex << status_ << ")";
|
||||||
LocalFree(buf);
|
LocalFree(buf);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue