2
0
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:
Thomas Nagy 2011-10-04 21:31:01 +02:00
parent 54b89c8804
commit c1a0bc1f3b

View File

@ -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