From 7a350e5fcf33f49094c820ba88b9cee4aeae6e12 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Fri, 15 Jul 2016 21:26:53 -0700 Subject: Cleanup error logging (#760 / #759) - add error type to all KafkaErrors - add args to BrokerResponseError - drop description from BrokerResponseError - fix bug logging errbacks as callbacks --- kafka/future.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/future.py') diff --git a/kafka/future.py b/kafka/future.py index c22755a..a4b7deb 100644 --- a/kafka/future.py +++ b/kafka/future.py @@ -55,7 +55,7 @@ class Future(object): if args or kwargs: f = functools.partial(f, *args, **kwargs) if self.is_done and self.exception: - self._call_backs('callback', [f], self.exception) + self._call_backs('errback', [f], self.exception) else: self._errbacks.append(f) return self -- cgit v1.2.1