Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

fix broken version comparison used during ssl tests #682

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
merge master
emmettbutler committed Jul 19, 2017
commit f273b6a38c1000137f7edf2e73461f5e9f63d154
2 changes: 1 addition & 1 deletion pykafka/connection.py
Original file line number Diff line number Diff line change
@@ -171,7 +171,7 @@ def connect(self, timeout):
except (self._handler.SockErr, self._handler.GaiError) as e:
log.info("Failed to connect to %s:%s", self.host, self.port)
log.info(e)
raise SocketDisconnectedError
raise SocketDisconnectedError("<broker {}:{}>".format(self.host, self.port))
log.debug("Successfully connected to %s:%s", self.host, self.port)

def disconnect(self):
You are viewing a condensed version of this merge commit. You can view the full changes here.