From: Andrew Schoen Date: Fri, 2 Jan 2015 15:32:33 +0000 (-0600) Subject: Make log messages in run_tasks.py specify when the exception occured. X-Git-Tag: 1.1.0~1052^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F399%2Fhead;p=teuthology.git Make log messages in run_tasks.py specify when the exception occured. Signed-off-by: Andrew Schoen --- diff --git a/teuthology/run_tasks.py b/teuthology/run_tasks.py index 588e7ea6c..f2d3f2ae5 100644 --- a/teuthology/run_tasks.py +++ b/teuthology/run_tasks.py @@ -98,7 +98,7 @@ def run_tasks(tasks, ctx): if ctx.config.get('interactive-on-error'): from .task import interactive - log.warning('Saw failure, going into interactive mode...') + log.warning('Saw failure during task execution, going into interactive mode...') interactive.task(ctx=ctx, config=None) # Throughout teuthology, (x,) = y has been used to assign values # from yaml files where only one entry of type y is correct. This @@ -135,7 +135,7 @@ def run_tasks(tasks, ctx): if ctx.config.get('interactive-on-error'): from .task import interactive log.warning( - 'Saw failure, going into interactive mode...') + 'Saw failure during task cleanup, going into interactive mode...') interactive.task(ctx=ctx, config=None) else: if suppress: