]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: backport 12368 to rec-4.8.x: Add the 'parse packet from auth' error message... 12456/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jan 2023 15:44:56 +0000 (16:44 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jan 2023 15:44:56 +0000 (16:44 +0100)
pdns/pdns_recursor.cc

index b7446a9fc2db672800e76ac1e51d6aa186188844..05a7bf325e86c614a11945fa430bfe89b1ad7efa 100644 (file)
@@ -2744,7 +2744,7 @@ static void handleUDPServerResponse(int fd, FDMultiplexer::funcparam_t& var)
     catch (std::exception& e) {
       g_stats.serverParseError++; // won't be fed to lwres.cc, so we have to increment
       SLOG(g_log << Logger::Warning << "Error in packet from remote nameserver " << fromaddr.toStringWithPort() << ": " << e.what() << endl,
-           g_slogudpin->error(Logr::Warning, "Error in packet from remote nameserver", "from", Logging::Loggable(fromaddr)));
+           g_slogudpin->error(Logr::Warning, e.what(), "Error in packet from remote nameserver", "from", Logging::Loggable(fromaddr)));
       return;
     }
   }