continue;
}
- logger::note( "FINE: CERTIFICATE LOG:\n", res->log );
- logger::note( "FINE: CERTIFICATE:\n", res->certificate );
+ logger::note( "FINE: CERTIFICATE LOG:\n", res->log,
+ "FINE: CERTIFICATE:\n", res->certificate );
+
std::string fn = writeBackFile( job->target.c_str(), res->certificate, keyDir );
if( fn.empty() ) {
if( 0 != mkdir( filename.c_str(), 0755 ) ) {
if( EEXIST != errno ) {
- return "";
+ throw std::runtime_error("Storage location could not be determined");
}
//! \FIXME: Check this is a directory