self.ready_exc = (SCons.Errors.ExplicitExit, e)
if T: T.write('Taskmaster: SystemExit\n')
return node
- except:
+ except Exception, e:
# We had a problem just trying to figure out the
# children (like a child couldn't be linked in to a
# VariantDir, or a Scanner threw something). Arrange to
# raise the exception when the Task is "executed."
self.ready_exc = sys.exc_info()
if S: S.problem = S.problem + 1
- if T: T.write('Taskmaster: exception while scanning children.\n')
+ if T: T.write('Taskmaster: exception %s while scanning children.\n'%s)
return node
children_not_visited = []