From 0cbc5aeb648ba71fb3bfbdaf7d7e7b30bc24aab7 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 15 Mar 2019 12:39:44 +0100 Subject: [PATCH] GSQLBackend::getDomainInfo: log domain name in error --- pdns/backends/gsql/gsqlbackend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index f19bba837..5086c6269 100644 --- a/pdns/backends/gsql/gsqlbackend.cc +++ b/pdns/backends/gsql/gsqlbackend.cc @@ -277,7 +277,7 @@ bool GSQLBackend::getDomainInfo(const DNSName &domain, DomainInfo &di, bool getS reset(); } catch(SSqlException &e) { - throw PDNSException("GSQLBackend unable to retrieve information about a domain: "+e.txtReason()); + throw PDNSException("GSQLBackend unable to retrieve information about domain '" + domain.toLogString() + "': "+e.txtReason()); } int numanswers=d_result.size(); -- 2.40.0