mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 08:34:07 +02:00
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>
This commit is contained in:
parent
0dee1d1358
commit
2f524a745e
@ -256,7 +256,6 @@ class AutoGenWorkerInProcess(mp.Process):
|
|||||||
CacheResult = Ma.CanSkipbyPreMakeCache()
|
CacheResult = Ma.CanSkipbyPreMakeCache()
|
||||||
except:
|
except:
|
||||||
CacheResult = False
|
CacheResult = False
|
||||||
traceback.print_exc(file=sys.stdout)
|
|
||||||
self.feedback_q.put(taskname)
|
self.feedback_q.put(taskname)
|
||||||
|
|
||||||
if CacheResult:
|
if CacheResult:
|
||||||
@ -273,7 +272,6 @@ class AutoGenWorkerInProcess(mp.Process):
|
|||||||
CacheResult = Ma.CanSkipbyMakeCache()
|
CacheResult = Ma.CanSkipbyMakeCache()
|
||||||
except:
|
except:
|
||||||
CacheResult = False
|
CacheResult = False
|
||||||
traceback.print_exc(file=sys.stdout)
|
|
||||||
self.feedback_q.put(taskname)
|
self.feedback_q.put(taskname)
|
||||||
|
|
||||||
if CacheResult:
|
if CacheResult:
|
||||||
@ -285,7 +283,6 @@ class AutoGenWorkerInProcess(mp.Process):
|
|||||||
except Empty:
|
except Empty:
|
||||||
pass
|
pass
|
||||||
except:
|
except:
|
||||||
traceback.print_exc(file=sys.stdout)
|
|
||||||
self.feedback_q.put(taskname)
|
self.feedback_q.put(taskname)
|
||||||
finally:
|
finally:
|
||||||
self.feedback_q.put("Done")
|
self.feedback_q.put("Done")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user