提交 5e9f9484 编写于 作者: P PMheart

ocvalidate: Report errors complained by serialisation as well

上级 fa94d36f
......@@ -110,6 +110,9 @@ int ENTRY_POINT(int argc, const char *argv[]) {
DEBUG ((DEBUG_ERROR, "Invalid config\n"));
return -1;
}
if (ErrorCount > 0) {
DEBUG ((DEBUG_ERROR, "Serialisation returns %u %a!\n", ErrorCount, ErrorCount > 1 ? "errors" : "error"));
}
//
// Print a newline that splits errors between OcConfigurationInit and config checkers.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册