diff options
Diffstat (limited to 'src/engine/SCons/Taskmaster.py')
-rw-r--r-- | src/engine/SCons/Taskmaster.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/engine/SCons/Taskmaster.py b/src/engine/SCons/Taskmaster.py index 6d5f87c..ecd6b07 100644 --- a/src/engine/SCons/Taskmaster.py +++ b/src/engine/SCons/Taskmaster.py @@ -143,12 +143,8 @@ class Task: except SCons.Errors.BuildError: raise except: - exc_type, exc_value, exc_traceback = sys.exc_info() - raise SCons.Errors.BuildError(self.targets[0], - "Exception", - exc_type, - exc_value, - exc_traceback) + raise SCons.Errors.TaskmasterException(self.targets[0], + sys.exc_info()) def get_target(self): """Fetch the target being built or updated by this task. |