]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
When ignoring a raised exception, at least log it
authorZack Cerza <zack@cerza.org>
Mon, 31 Mar 2014 22:46:27 +0000 (17:46 -0500)
committerZack Cerza <zack@cerza.org>
Mon, 31 Mar 2014 22:46:27 +0000 (17:46 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/task/mon_thrash.py

index 7dc7caad8463d6e9ba6d8d806c202ac092091a7f..b45aaa999780b4de2daaea07575cda3360882001 100644 (file)
@@ -300,7 +300,7 @@ class MonitorThrasher:
                 try:
                     self.manager.raw_cluster_cmd('scrub')
                 except Exception:
-                    pass
+                    log.exception("Saw exception while triggering scrub")
 
             if self.thrash_delay > 0.0:
                 self.log('waiting for {delay} secs before continuing thrashing'.format(