]> granicus.if.org Git - pdns/commitdiff
report (fatal) errors better
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 6 Jan 2011 21:00:01 +0000 (21:00 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 6 Jan 2011 21:00:01 +0000 (21:00 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1822 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/pdnssec.cc

index 1a20a07452323403e003fde5708c9f2120bfe3cc..f219f086a06cccc55872524527f4475b1f86a958 100644 (file)
@@ -380,3 +380,6 @@ try
 catch(AhuException& ae) {
   cerr<<"Error: "<<ae.reason<<endl;
 }
+catch(std::exception& e) {
+  cerr<<"Error: "<<e.what()<<endl;
+}