We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c7f9d commit b9167caCopy full SHA for b9167ca
kafka/conn.py
@@ -37,7 +37,7 @@ def __str__(self):
37
38
def _raise_connection_error(self):
39
self._dirty = True
40
- raise ConnectionError("Kafka @ {}:{} went away".format(self.host, self.port))
+ raise ConnectionError("Kafka @ {0}:{1} went away".format(self.host, self.port))
41
42
def _read_bytes(self, num_bytes):
43
bytes_left = num_bytes
0 commit comments