Add more details to DNS error logs. See #1626

This commit is contained in:
Alexey Sokolov
2019-01-01 12:51:51 +00:00
parent a51dd892e6
commit 70a221addd

View File

@@ -225,7 +225,7 @@ void CSockManager::CDNSJob::runThread() {
void CSockManager::CDNSJob::runMain() {
if (0 != this->iRes) {
DEBUG("Error in threaded DNS: " << gai_strerror(this->iRes));
DEBUG("Error in threaded DNS: " << gai_strerror(this->iRes) << " while trying to resolve " << this->sHostname);
if (this->aiResult) {
DEBUG("And aiResult is not nullptr...");
}