diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2017-12-07 15:07:31 -0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2017-12-12 11:06:44 -0800 |
commit | 580520bcb9dc2ed9725e4b4871cd275f6826a182 (patch) | |
tree | 19b7dbdb15a8d5e2dd10bae3261321f033444b28 /test/testutil.py | |
parent | a699f6a347591076b5c427fc245e5ed5f5ffdd49 (diff) | |
download | kafka-python-580520bcb9dc2ed9725e4b4871cd275f6826a182.tar.gz |
Minor Exception cleanup
Diffstat (limited to 'test/testutil.py')
-rw-r--r-- | test/testutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |