EdkLogger.ERROR() was replaced with EdkLogger.error() to deliver the
expected error message when an error occurs.
Signed-off-by: Irene Park <ipark@nvidia.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
delta = {}\r
for skuname, skuid in PcdDBData:\r
if len(PcdDBData[(skuname, skuid)][1]) != len(PcdDBData[(TAB_DEFAULT, "0")][1]):\r
- EdkLogger.ERROR("The size of each sku in one pcd are not same")\r
+ EdkLogger.error("build", AUTOGEN_ERROR, "The size of each sku in one pcd are not same")\r
for skuname, skuid in PcdDBData:\r
if skuname == TAB_DEFAULT:\r
continue\r