summaryrefslogtreecommitdiff
path: root/test/testutil.py
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2017-12-07 15:07:31 -0800
committerJeff Widman <jeff@jeffwidman.com>2017-12-07 18:45:42 -0800
commit43511aa7fac950e07376872443db133cbb21530c (patch)
tree50bf55ebe41bb457906cabc575c6c2d12da630e3 /test/testutil.py
parent009290ddd5d4616d70bff93f841e773af8b22750 (diff)
downloadkafka-python-minor-exception-cleanup.tar.gz
Minor Exception cleanupminor-exception-cleanup
Diffstat (limited to 'test/testutil.py')
-rw-r--r--test/testutil.py2
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()