The bug is that it cause the RaiseError always be set to TRUE even we
call the function with FALSE parameter.
Cc: Hess Chen <hesheng.chen@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Hess Chen <hesheng.chen@intel.com>
LogText = _ErrorMessageTemplateWithoutFile % TemplateDict\r
\r
_ErrorLogger.log(ERROR, LogText)\r
- RaiseError = IsRaiseError\r
- if RaiseError:\r
+\r
+ if RaiseError and IsRaiseError:\r
raise FatalError(ErrorCode)\r
\r
# Log information which should be always put out\r