Skip to content

Commit fe00aa9

Browse files
authored
Merge branch 'master' into bugfix_typo_until
2 parents 85f1b5f + e081024 commit fe00aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kazoo/protocol/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ def _connect_loop(self, retry):
543543

544544
# Check for an empty hostlist, indicating none resolved
545545
if len(host_ports) == 0:
546-
return STOP_CONNECTING
546+
raise ForceRetryError('No host resolved. Reconnecting')
547547

548548
for host, hostip, port in host_ports:
549549
if self.client._stopped.is_set():

0 commit comments

Comments
 (0)