]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
All BaseExceptions should hit failure codepath
authorZack Cerza <zack.cerza@inktank.com>
Wed, 1 Oct 2014 20:58:07 +0000 (14:58 -0600)
committerZack Cerza <zack.cerza@inktank.com>
Wed, 1 Oct 2014 20:58:07 +0000 (14:58 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/run_tasks.py

index 19af697527a6ea3d133819e97f679b70ea2cc12b..eaf59f9261470720ef0a38b9e0954c1b9a839900 100644 (file)
@@ -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)