]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools:Fix build tools print traceback info issue
authorFan, ZhijuX <zhijux.fan@intel.com>
Fri, 20 Mar 2020 03:57:55 +0000 (11:57 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 24 Mar 2020 02:27:27 +0000 (02:27 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2610

We meet a case that the DEC file declaring the PCD isn't
included in the INF.it cause build tools report Traceback error.

Remove raise statements that generate Tracebacks that were only
intended for development/debug. With the raise statements removed
proper error messages are shown.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>

No differences found