Permalink
Browse files

Catch PDNSException in Signingpiper::helperWorker to avoid abort

  • Loading branch information...
1 parent 5f0a700 commit 2e6bbd83ae5d6c634e70327f26517cb9c61526c8 @cmouse cmouse committed Aug 31, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 pdns/signingpipe.cc
View
@@ -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;

0 comments on commit 2e6bbd8

Please sign in to comment.