]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Catch PDNSException in Signingpiper::helperWorker to avoid abort 1685/head
authorAki Tuomi <cmouse@desteem.org>
Sun, 31 Aug 2014 10:49:02 +0000 (13:49 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sun, 31 Aug 2014 10:49:02 +0000 (13:49 +0300)
pdns/signingpipe.cc

index 46b31796f76ec47b7449f7e3b11ad655e7331178..bb164e34055e640d689c72fe59d6116d4d78cd66 100644 (file)
@@ -62,6 +62,9 @@ try
   shs.d_csp->worker(shs.d_id, shs.d_fd);
   return 0;
 }
+catch(PDNSException& pe) {
+  L<<Logger::Error<<"Signing thread died with error "<<pe.reason<<endl;
+}
 catch(std::exception& e) {
   L<<Logger::Error<<"Signing thread died with error "<<e.what()<<endl;
   return 0;