]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Make log messages in run_tasks.py specify when the exception occured. 399/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 2 Jan 2015 15:32:33 +0000 (09:32 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 5 Jan 2015 21:44:51 +0000 (15:44 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/run_tasks.py

index 588e7ea6c208e832c9f48430e8edbe4cde2d1279..f2d3f2ae510c2e4a05380029aaab8afa4e75902a 100644 (file)
@@ -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: