diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-07-15 21:26:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 21:26:53 -0700 |
commit | 7a350e5fcf33f49094c820ba88b9cee4aeae6e12 (patch) | |
tree | 0fe2e8b9314550d40ad033ea255f16045ac0240b /kafka/future.py | |
parent | a4cd7bf2979f489a2b010936ed31803d79eba7c1 (diff) | |
download | kafka-python-7a350e5fcf33f49094c820ba88b9cee4aeae6e12.tar.gz |
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
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 |