From c1a0bc1f3b0c271d7b30f52bdca29397c584becc Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 4 Oct 2011 21:31:01 +0200 Subject: [PATCH] In verbose mode with -k, display the complete error messages --- waflib/Runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/waflib/Runner.py b/waflib/Runner.py index 97bd97ba..4f83d3b9 100644 --- a/waflib/Runner.py +++ b/waflib/Runner.py @@ -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