]> jfr.im git - irc/znc/znc.git/commitdiff
Add more details to DNS error logs. See #1626
authorAlexey Sokolov <redacted>
Tue, 1 Jan 2019 12:51:51 +0000 (12:51 +0000)
committerAlexey Sokolov <redacted>
Tue, 1 Jan 2019 12:51:51 +0000 (12:51 +0000)
src/Socket.cpp

index fa5104623fe74705cf01c9107abbc187509393a0..4ce05ee4cac7e5ceaf0e37f7d4df1c3a6396cb45 100644 (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...");
         }