From 70a221adddc479cd8a4d49258b8538bd438df8d8 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 1 Jan 2019 12:51:51 +0000 Subject: [PATCH] Add more details to DNS error logs. See #1626 --- src/Socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket.cpp b/src/Socket.cpp index fa510462..4ce05ee4 100644 --- a/src/Socket.cpp +++ b/src/Socket.cpp @@ -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..."); }