Permalink
Browse files

make very sure we don't keel over if something goes wrong polling sec…

…urity status in auth
  • Loading branch information...
1 parent 7dc86bf commit 2fda71f20354a99ff873130131a70f60a6c26771 @ahupowerdns ahupowerdns committed Oct 23, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 pdns/common_startup.cc
@@ -413,7 +413,10 @@ void mainthread()
for(;;) {
sleep(1800);
- doSecPoll(false);
+ try {
+ doSecPoll(false);
+ }
+ catch(...){}
}
L<<Logger::Error<<"Mainthread exiting - should never happen"<<endl;

0 comments on commit 2fda71f

Please sign in to comment.