From: Zack Cerza Date: Mon, 31 Mar 2014 22:46:27 +0000 (-0500) Subject: When ignoring a raised exception, at least log it X-Git-Tag: 1.1.0~1552 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=addfed2da8c736a18f251847bdbfd1de983255da;p=teuthology.git When ignoring a raised exception, at least log it Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/mon_thrash.py b/teuthology/task/mon_thrash.py index 7dc7caad8..b45aaa999 100644 --- a/teuthology/task/mon_thrash.py +++ b/teuthology/task/mon_thrash.py @@ -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(