1
0
Fork 0

vs warnings in agency

This commit is contained in:
Kaveh Vahedipour 2016-09-16 15:22:17 +02:00
parent 7806dde219
commit ca71038a66
2 changed files with 3 additions and 2 deletions

View File

@ -201,7 +201,8 @@ bool config_t::swapActiveMember(
std::replace (_active.begin(), _active.end(), failed, repl);
} catch (std::exception const& e) {
LOG_TOPIC(ERR, Logger::AGENCY)
<< "Replacing " << failed << " with " << repl << "failed miserably";
<< "Replacing " << failed << " with " << repl
<< "failed miserably: " << e.what();
return false;
}
return true;

View File

@ -140,7 +140,7 @@ RestHandler::status RestAgencyPrivHandler::execute() {
everything = _request->toVelocyPackBuilderPtr(&options);
} catch (std::exception const& e) {
LOG_TOPIC(ERR, Logger::AGENCY)
<< "Failure getting activation body: e.what()";
<< "Failure getting activation body:" << e.what();
}
try {
query_t res = _agent->activate(everything);