]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
GSQLBackend::setAccount: log account in error
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 15 Mar 2019 11:38:35 +0000 (12:38 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 15 Mar 2019 13:34:48 +0000 (14:34 +0100)
pdns/backends/gsql/gsqlbackend.cc

index 58493cd1bffde1a3cd497d3aa106484bbb72c8f1..f19bba8378d1268fa53f11d87cd24a11f5e842bc 100644 (file)
@@ -258,7 +258,7 @@ bool GSQLBackend::setAccount(const DNSName &domain, const string &account)
             reset();
   }
   catch (SSqlException &e) {
-    throw PDNSException("GSQLBackend unable to set account of domain '"+domain.toLogString()+"': "+e.txtReason());
+    throw PDNSException("GSQLBackend unable to set account of domain '"+domain.toLogString()+"' to '" + account + "': "+e.txtReason());
   }
   return true;
 }