mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Add more details to DNS error logs. See #1626
This commit is contained in:
@@ -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...");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user