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 c45b6db commit d0af5891225e3af9b0a5221d251f292bd7462036 @ahupowerdns ahupowerdns committed with mind04 Oct 23, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 pdns/common_startup.cc
@@ -388,7 +388,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 d0af589

Please sign in to comment.