If there is no previous error, and if an exception occurs while in -k, then that error must be displayed

This commit is contained in:
Thomas Nagy 2011-10-04 21:42:32 +02:00
parent c1a0bc1f3b
commit 2baaf78394
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class Parallel(object):
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:
if Logs.verbose or not self.error:
self.error.append(tsk)
self.stop = True
continue