summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-01-30 21:33:19 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-02-02 18:22:08 (GMT)
commit48a7fddf3f2cbd628cc2270926268a64a1501222 (patch)
tree231b949e30e8cea7b55298ef43fb750b399b6fc6 /src/engine
parent15d275627e2a6ee154396e2768cb77aa82a7dd04 (diff)
downloadSCons-48a7fddf3f2cbd628cc2270926268a64a1501222.zip
SCons-48a7fddf3f2cbd628cc2270926268a64a1501222.tar.gz
SCons-48a7fddf3f2cbd628cc2270926268a64a1501222.tar.bz2
handle exceptions slightly better
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Job.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Job.py b/src/engine/SCons/Job.py
index c0e80b1..3720ca2 100644
--- a/src/engine/SCons/Job.py
+++ b/src/engine/SCons/Job.py
@@ -199,7 +199,7 @@ class Serial(object):
task.prepare()
if task.needs_execute():
task.execute()
- except:
+ except Exception as e:
if self.interrupted():
try:
raise SCons.Errors.BuildError(