summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Taskmaster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Taskmaster.py b/src/engine/SCons/Taskmaster.py
index 61bab21..f8c494d 100644
--- a/src/engine/SCons/Taskmaster.py
+++ b/src/engine/SCons/Taskmaster.py
@@ -595,14 +595,14 @@ class Taskmaster:
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 = []