Skip to content

Commit

Permalink
All BaseExceptions should hit failure codepath
Browse files Browse the repository at this point in the history
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
  • Loading branch information
Zack Cerza committed Oct 1, 2014
1 parent 6608323 commit cd2860e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/run_tasks.py
Expand Up @@ -52,7 +52,7 @@ def run_tasks(tasks, ctx):
if hasattr(manager, '__enter__'):
manager.__enter__()
stack.append((taskname, manager))
except Exception as e:
except BaseException as e:
ctx.summary['success'] = False
if 'failure_reason' not in ctx.summary:
ctx.summary['failure_reason'] = str(e)
Expand Down

0 comments on commit cd2860e

Please sign in to comment.