From f5d65b5b6b828d42bf2a5290f58543ef0f5d6e77 Mon Sep 17 00:00:00 2001 From: taynpg Date: Tue, 24 Dec 2024 08:57:38 +0800 Subject: [PATCH] =?UTF-8?q?sup=EF=BC=9A=E6=8F=90=E7=A4=BA=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/client.cpp b/client/client.cpp index 2ff6ceb..336145d 100644 --- a/client/client.cpp +++ b/client/client.cpp @@ -78,8 +78,7 @@ void CClient::run(const std::string& ip, const std::string& port) request_update_list(vec[2], std::stoi(vec[1])); continue; } - logger_->error("input's invalid format."); - continue; + logger_->error("No matched cmd, May be param size incorrect."); } else if (vec.size() == 2) { if (vec[0] == "Down") { down_task(vec[1]); @@ -89,8 +88,9 @@ void CClient::run(const std::string& ip, const std::string& port) up_task(cmd_input); continue; } + logger_->error("No matched cmd, May be param size incorrect."); } else { - logger_->error("No matched cmd."); + logger_->error("No matched cmd, May be param size incorrect."); } } client_->disconnect();