mirror of https://gitee.com/bigwinds/arangodb
vs warnings in agency
This commit is contained in:
parent
7806dde219
commit
ca71038a66
|
@ -201,7 +201,8 @@ bool config_t::swapActiveMember(
|
||||||
std::replace (_active.begin(), _active.end(), failed, repl);
|
std::replace (_active.begin(), _active.end(), failed, repl);
|
||||||
} catch (std::exception const& e) {
|
} catch (std::exception const& e) {
|
||||||
LOG_TOPIC(ERR, Logger::AGENCY)
|
LOG_TOPIC(ERR, Logger::AGENCY)
|
||||||
<< "Replacing " << failed << " with " << repl << "failed miserably";
|
<< "Replacing " << failed << " with " << repl
|
||||||
|
<< "failed miserably: " << e.what();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -140,7 +140,7 @@ RestHandler::status RestAgencyPrivHandler::execute() {
|
||||||
everything = _request->toVelocyPackBuilderPtr(&options);
|
everything = _request->toVelocyPackBuilderPtr(&options);
|
||||||
} catch (std::exception const& e) {
|
} catch (std::exception const& e) {
|
||||||
LOG_TOPIC(ERR, Logger::AGENCY)
|
LOG_TOPIC(ERR, Logger::AGENCY)
|
||||||
<< "Failure getting activation body: e.what()";
|
<< "Failure getting activation body:" << e.what();
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
query_t res = _agent->activate(everything);
|
query_t res = _agent->activate(everything);
|
||||||
|
|
Loading…
Reference in New Issue