diff options
-rw-r--r-- | kafka/conn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kafka/conn.py b/kafka/conn.py index 6af0d8f..18f6ec3 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -221,8 +221,8 @@ class BrokerConnection(object): socket.SOCK_STREAM) except socket.gaierror as ex: raise socket.gaierror('getaddrinfo failed for {0}:{1}, ' - 'exception was {2}. Is your advertised.host.name correct' - ' and resolvable?'.format( + 'exception was {2}. Is your advertised.listeners (called' + 'advertised.host.name before Kafka 9) correct and resolvable?'.format( self.host, self.port, ex )) self._gai_index = 0 |