Skip to content

Commit c603eb2

Browse files
dpkp88manpreet
authored andcommitted
Warn dont raise on DNS lookup failures (dpkp#1091)
1 parent a9dc281 commit c603eb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kafka/conn.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ def connect(self):
238238
' and resolvable?'.format(
239239
self.host, self.port, ex
240240
))
241+
# TODO: manpreet should we remove this?
242+
# self._gai = []
241243
self._gai_index = 0
242244
else:
243245
# if self._gai already exists, then we should try the next

0 commit comments

Comments
 (0)