From: Pieter Lexis Date: Fri, 15 Mar 2019 11:26:08 +0000 (+0100) Subject: GSQLBackend::directBackendCmd: log attempted query in error X-Git-Tag: dnsdist-1.4.0-alpha1~53^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91265fcebaef3f58ba30d118a5117d0086f17c1a;p=pdns GSQLBackend::directBackendCmd: log attempted query in error --- diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index e8d111c27..e77bbd70f 100644 --- a/pdns/backends/gsql/gsqlbackend.cc +++ b/pdns/backends/gsql/gsqlbackend.cc @@ -1606,7 +1606,7 @@ string GSQLBackend::directBackendCmd(const string &query) return out.str(); } catch (SSqlException &e) { - throw PDNSException("GSQLBackend unable to execute query: "+e.txtReason()); + throw PDNSException("GSQLBackend unable to execute direct command query '" + query + "': "+e.txtReason()); } }