From a413f321fe83323b508cc36b78d62483fe6f8ac2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 11 Mar 2020 13:58:37 -0400 Subject: [PATCH] Fix console loss on server exit Catch the new exception that was used to make other commands exit cleaner. --- confluent_client/bin/confetty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index 043881a4..25e2cd6c 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -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)