]> granicus.if.org Git - pdns/commitdiff
improve 'should not happen' error message to ease replication of that which should...
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 16 May 2011 13:56:28 +0000 (13:56 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 16 May 2011 13:56:28 +0000 (13:56 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2197 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/packethandler.cc

index b14f92927e8aa16164aab8e64b82de10787c4cf1..2d827aacdcd8d310a5cca4fc9dfc2b189b477d2b 100644 (file)
@@ -1338,7 +1338,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse)
       DLOG(L<<"Have unauth data, so need to hunt for best NS records"<<endl);
       if(tryReferral(p, r, sd, target))
         goto sendit;
-      L<<Logger::Error<<"Should not get here: please run pdnssec rectify-zone "<<sd.qname<<endl;
+      L<<Logger::Error<<"Should not get here ("<<p->qdomain<<"|"<<p->qtype.getCode()<<"): please run pdnssec rectify-zone "<<sd.qname<<endl;
     }
     else {
       DLOG(L<<"Have some data, but not the right data"<<endl);