mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
In verbose mode with -k, display the complete error messages
This commit is contained in:
parent
54b89c8804
commit
c1a0bc1f3b
@ -312,13 +312,15 @@ class Parallel(object):
|
||||
st = tsk.runnable_status()
|
||||
except Exception:
|
||||
self.processed += 1
|
||||
tsk.err_msg = Utils.ex_stack()
|
||||
if not self.stop and self.bld.keep:
|
||||
tsk.hasrun = Task.SKIPPED
|
||||
if self.bld.keep == 1:
|
||||
# if -k stop at the first exception, if -kk try to go as far as possible
|
||||
if Logs.verbose:
|
||||
self.error.append(tsk)
|
||||
self.stop = True
|
||||
continue
|
||||
tsk.err_msg = Utils.ex_stack()
|
||||
tsk.hasrun = Task.EXCEPTION
|
||||
self.error_handler(tsk)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user