From 43511aa7fac950e07376872443db133cbb21530c Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Thu, 7 Dec 2017 15:07:31 -0800 Subject: Minor Exception cleanup --- test/testutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testutil.py') diff --git a/test/testutil.py b/test/testutil.py index c247e6a..0bacac4 100644 --- a/test/testutil.py +++ b/test/testutil.py @@ -113,7 +113,7 @@ class KafkaIntegrationTestCase(unittest.TestCase): def current_offset(self, topic, partition): try: offsets, = self.client.send_offset_request([OffsetRequestPayload(topic, partition, -1, 1)]) - except: + except Exception: # XXX: We've seen some UnknownErrors here and can't debug w/o server logs self.zk.child.dump_logs() self.server.child.dump_logs() -- cgit v1.2.1