日志描述优化

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2024-02-23 17:08:52 +08:00
parent 9146ff3988
commit c4654fef4b
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ bool ReferenceParser::ParseRefJson(const string &from, const string &to)
return false;
}
if (!root_ || !cJSON_IsObject(root_)) {
cerr << "Error: ReferenceParser root node not obeject." << NEW_LINE_PATH << from << endl;
cerr << "Error: JSON file parsing failed, please check the JSON file." << NEW_LINE_PATH << from << endl;
return RESTOOL_ERROR;
}
bool needSave = false;