]> granicus.if.org Git - pdns/commitdiff
catch all exceptions coming from secpoll, this was a regression of this PR
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 8 Nov 2017 14:57:05 +0000 (15:57 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 8 Nov 2017 14:57:05 +0000 (15:57 +0100)
pdns/pdns_recursor.cc

index 50c4156c5060a042006d39db5007cc6029ea3fe9..c7b94dfb4ea496eab6727a40bf6d8c65ad79f842 100644 (file)
@@ -2162,6 +2162,15 @@ static void houseKeeping(void *)
         {
           L<<Logger::Error<<"Exception while performing security poll: "<<e.what()<<endl;
         }
+        catch(PDNSException& e)
+        {
+          L<<Logger::Error<<"Exception while performing security poll: "<<e.reason<<endl;
+        }
+        catch(...)
+        {
+          L<<Logger::Error<<"Exception while performing security poll"<<endl;
+        }
+
       }
     }
     s_running=false;