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)
commit2f524a745e23e1b4c73ea22b058492bfe4af84c2
tree440c55928199fcbd0db8e031d8797d28d423da80
parent0dee1d1358c95e07637876af1f508f0fd694a809
BaseTools:Fix build tools print traceback info issue

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>
BaseTools/Source/Python/AutoGen/AutoGenWorker.py