Browse Source

client log optimize

pull/1227/head
liyihan2@huawei.com 5 years ago
parent
commit
3a3f9316a3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/client/ge_api.cc

+ 1
- 1
ge/client/ge_api.cc View File

@@ -69,7 +69,7 @@ Status CheckOptionsValid(const std::map<string, string> &options) {
auto job_id_iter = options.find(OPTION_EXEC_JOB_ID);
if (job_id_iter != options.end()) {
if (job_id_iter->second.length() > kMaxStrLen) {
GELOGE(PARAM_INVALID, "[Check][Job_id]Before execution, check job_id failed,the job_id string length: %u > max string length: %d", job_id_iter->second.length(), kMaxStrLen);
GELOGE(PARAM_INVALID, "[Check][Job_id]Before execution, check job_id failed,the job_id string length > max string length: %d", kMaxStrLen);
return FAILED;
}
}


Loading…
Cancel
Save