From 1d936a2e8b6bf76bdb14dffd12df9085f44605c2 Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Thu, 6 Apr 2023 12:11:27 -0500 Subject: [PATCH] Stop printing error when an invalid command is entered Signed-off-by: Andrew Brain --- augur/application/cli/_multicommand.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/augur/application/cli/_multicommand.py b/augur/application/cli/_multicommand.py index 6efc270c16..2df6e8b115 100644 --- a/augur/application/cli/_multicommand.py +++ b/augur/application/cli/_multicommand.py @@ -28,9 +28,7 @@ def get_command(self, ctx, name): module = importlib.import_module('.' + name, 'augur.application.cli') return module.cli except ModuleNotFoundError: - print(f"Error") - print(traceback.format_exc()) - + pass @click.command(cls=AugurMultiCommand, context_settings=CONTEXT_SETTINGS) @click.pass_context