diff --git a/bin/pytorch_inference/CCommandParser.cc b/bin/pytorch_inference/CCommandParser.cc index 32e8f4728c..f080f27c15 100644 --- a/bin/pytorch_inference/CCommandParser.cc +++ b/bin/pytorch_inference/CCommandParser.cc @@ -63,8 +63,8 @@ bool CCommandParser::ioLoop(const TRequestHandlerFunc& requestHandler) const { debug(doc); CCommandParser::SRequest request = jsonToRequest(doc); if (requestHandler(request) == false) { - LOG_ERROR(<< "Request handler forced exit"); - return false; + LOG_ERROR(<< "Request handler forced exit"); + return false; } } @@ -94,8 +94,7 @@ bool CCommandParser::validateJson(const rapidjson::Document& doc) const { while (doc.HasMember(varArgName)) { const rapidjson::Value& value = doc[varArgName]; if (value.IsArray() == false) { - LOG_ERROR(<< "Invalid command: argument [" << varArgName - << "] is not an array"); + LOG_ERROR(<< "Invalid command: argument [" << varArgName << "] is not an array"); return false; }