diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-07-15 18:57:56 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-07-15 19:48:55 -0700 |
commit | 80931d99e1072161b75b29ff7d9c76fa9650e2fd (patch) | |
tree | 062b61b9bbe9182130a87181ee98c8cc559524cc /kafka/future.py | |
parent | 9acdf6db4bf6b99713b2178fcf362d936d6a0851 (diff) | |
download | kafka-python-errors.tar.gz |
Cleanup error loggingerrors
- add error type to all KafkaErrors
- add args to BrokerResponseError
- drop description from BrokerResponseError
- fix bug logging errbacks as callbacks
Diffstat (limited to 'kafka/future.py')
-rw-r--r-- | kafka/future.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |