di.backend->abortTransaction();
}
}
- catch(AhuException &ae) {
- L<<Logger::Error<<"Unable to AXFR zone '"+domain+"' from remote '"<<remote<<"' (AhuException): "<<ae.reason<<endl;
+ catch(PDNSException &ae) {
+ L<<Logger::Error<<"Unable to AXFR zone '"+domain+"' from remote '"<<remote<<"' (PDNSException): "<<ae.reason<<endl;
if(di.backend && !first) {
L<<Logger::Error<<"Aborting possible open transaction for domain '"<<domain<<"' AXFR"<<endl;
di.backend->abortTransaction();
dni.dnssecOk, dni.tsigkeyname, dni.tsigalgname, dni.tsigsecret)
);
}
- catch(AhuException& e) {
+ catch(PDNSException& e) {
throw runtime_error("While attempting to query freshness of '"+dni.di.zone+"': "+e.reason);
}
}
catch(std::exception& e) {
L<<Logger::Error<<"While checking domain freshness: " << e.what()<<endl;
}
- catch(AhuException &re) {
+ catch(PDNSException &re) {
L<<Logger::Error<<"While checking domain freshness: " << re.reason<<endl;
}
}