1
0
Fork 0

Too verbose debug output

This commit is contained in:
Kaveh Vahedipour 2016-09-26 10:55:37 +02:00
parent 7556e55817
commit 2ee42720fc
1 changed files with 2 additions and 1 deletions

View File

@ -245,7 +245,8 @@ inline RestHandler::status RestAgencyHandler::handleRead() {
try {
query = _request->toVelocyPackBuilderPtr(&options);
} catch (std::exception const& e) {
LOG_TOPIC(WARN, Logger::AGENCY) << e.what() << " " << __FILE__ << ":" << __LINE__;
LOG_TOPIC(DEBUG, Logger::AGENCY)
<< e.what() << " " << __FILE__ << ":" << __LINE__;
generateError(rest::ResponseCode::BAD, 400);
return status::DONE;
}