S.ringAccount("servfail-queries",QD->Q->qdomain.toString());
delete QD->Q;
- QD->callback(a);
- throw;
}
catch(...) {
L<<Logger::Error<<"Caught unknown exception in Distributor thread "<<(long)pthread_self()<<endl;
}
catch(const PDNSException &AE) {
L<<Logger::Error<<"Distributor caught fatal exception: "<<AE.reason<<endl;
- throw;
}
catch(...) {
L<<Logger::Error<<"Caught an unknown exception when creating backend, probably"<<endl;
a->setRcode(RCode::ServFail);
S.inc("servfail-packets");
S.ringAccount("servfail-queries",q->qdomain.toString());
- callback(a);
- throw;
}
catch(...) {
L<<Logger::Error<<"Caught unknown exception in Distributor thread "<<(unsigned long)pthread_self()<<endl;