From d9c608a67da830213668430fe57188f16d627e10 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Sat, 20 Mar 2021 15:19:34 +0800 Subject: [PATCH] client log --- ge/client/ge_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/client/ge_api.cc b/ge/client/ge_api.cc index 604510d8..6b416a3d 100644 --- a/ge/client/ge_api.cc +++ b/ge/client/ge_api.cc @@ -72,7 +72,7 @@ Status CheckOptionsValid(const std::map &options) { GELOGE(PARAM_INVALID,"[Check][JobId]Failed," "the job_id [%s] string length > max string length: %d", job_id_iter->second.c_str(), kMaxStrLen); - REPORT_INPUT_ERROR("E10051", std::vector({"id","length"}), std::vector(job_id_iter->second.c_str(), std::to_string(kMaxStrLen.length()))); + REPORT_INPUT_ERROR("E10051", std::vector({"id","length"}), std::vector(job_id_iter->second.c_str(), std::to_string(kMaxStrLen))); return FAILED; } }