mirror of https://gitlab.com/ita1024/waf.git
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()
|
st = tsk.runnable_status()
|
||||||
except Exception:
|
except Exception:
|
||||||
self.processed += 1
|
self.processed += 1
|
||||||
|
tsk.err_msg = Utils.ex_stack()
|
||||||
if not self.stop and self.bld.keep:
|
if not self.stop and self.bld.keep:
|
||||||
tsk.hasrun = Task.SKIPPED
|
tsk.hasrun = Task.SKIPPED
|
||||||
if self.bld.keep == 1:
|
if self.bld.keep == 1:
|
||||||
# if -k stop at the first exception, if -kk try to go as far as possible
|
# 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
|
self.stop = True
|
||||||
continue
|
continue
|
||||||
tsk.err_msg = Utils.ex_stack()
|
|
||||||
tsk.hasrun = Task.EXCEPTION
|
tsk.hasrun = Task.EXCEPTION
|
||||||
self.error_handler(tsk)
|
self.error_handler(tsk)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue