From 6553b28aef63f025905126e3a1ad99e1a6c84b98 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 2 Jan 2015 09:32:33 -0600 Subject: [PATCH] Make log messages in run_tasks.py specify when the exception occured. Signed-off-by: Andrew Schoen --- teuthology/run_tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/run_tasks.py b/teuthology/run_tasks.py index 588e7ea6c2..f2d3f2ae51 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: -- 2.39.5