mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-23 05:51:51 +00:00
Fix console loss on server exit
Catch the new exception that was used to make other commands exit cleaner.
This commit is contained in:
parent
f2bd796c2a
commit
a413f321fe
@ -965,7 +965,7 @@ def main():
|
||||
try:
|
||||
server_connect()
|
||||
connected = True
|
||||
except (socket.gaierror, socket.error):
|
||||
except Exception:
|
||||
pass
|
||||
if not connected:
|
||||
time.sleep(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user