return nullptr;
}
catch(...) {
- L<<Logger::Error<<"Unknown exception in signing thread occurred"<<endl;
+ g_log<<Logger::Error<<"Unknown exception in signing thread occurred"<<endl;
return nullptr;
}
void ChunkedSigningPipe::worker(int fd)
try
{
- DNSSECKeeper dk;
UeberBackend db("key-only");
+ DNSSECKeeper dk(&db);
chunk_t* chunk = nullptr;
int res;
}
catch(const PDNSException& pe)
{
- L<<Logger::Error<<"Signing thread died because of PDNSException: "<<pe.reason<<endl;
+ g_log<<Logger::Error<<"Signing thread died because of PDNSException: "<<pe.reason<<endl;
close(fd);
}
catch(const std::exception& e)
{
- L<<Logger::Error<<"Signing thread died because of std::exception: "<<e.what()<<endl;
+ g_log<<Logger::Error<<"Signing thread died because of std::exception: "<<e.what()<<endl;
close(fd);
}