diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index 4b34490f..64764a5e 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -235,7 +235,11 @@ def rcompleter(text, state): def parse_command(command): - args = shlex.split(command, posix=True) + try: + args = shlex.split(command, posix=True) + except ValueError as ve: + print('Error: ' + ve.message) + return [] return args