mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix the improper error logging
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>
This commit is contained in:
parent
20b292d0cd
commit
21e1dc286e
|
@ -894,7 +894,7 @@ def CreatePcdDataBase(PcdDBData):
|
|||
delta = {}
|
||||
for skuname, skuid in PcdDBData:
|
||||
if len(PcdDBData[(skuname, skuid)][1]) != len(PcdDBData[(TAB_DEFAULT, "0")][1]):
|
||||
EdkLogger.ERROR("The size of each sku in one pcd are not same")
|
||||
EdkLogger.error("build", AUTOGEN_ERROR, "The size of each sku in one pcd are not same")
|
||||
for skuname, skuid in PcdDBData:
|
||||
if skuname == TAB_DEFAULT:
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue