diff --git a/milvus_cli/scripts/milvus_cli.py b/milvus_cli/scripts/milvus_cli.py index 2585ef9..77e08b4 100644 --- a/milvus_cli/scripts/milvus_cli.py +++ b/milvus_cli/scripts/milvus_cli.py @@ -1003,14 +1003,14 @@ def runCliPrompt(): # trap argparse error message # print('error', SystemExit) continue - # except ParameterException as pe: - # click.echo(message=f"{str(pe)}", err=True) - # except ConnectException as ce: - # click.echo( - # message="Connect to milvus Error!\nPlease check your connection.", err=True) - # except Exception as e: - # click.echo( - # message=f"Error occurred!\n{str(e)}", err=True) + except ParameterException as pe: + click.echo(message=f"{str(pe)}", err=True) + except ConnectException as ce: + click.echo( + message="Connect to milvus Error!\nPlease check your connection.", err=True) + except Exception as e: + click.echo( + message=f"Error occurred!\n{str(e)}", err=True) except (KeyboardInterrupt, EOFError): print() sys.exit(0) diff --git a/setup.py b/setup.py index 9733994..1dcbacc 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='milvus_cli', - version='0.1.8beta2', + version='0.1.8beta3', author='Milvus Team', author_email='milvus-team@zilliz.com', url='https://github.com/milvus-io/milvus_cli',