Show UserError without traceback

This commit is contained in:
Markus Unterwaditzer 2016-01-30 19:24:06 +01:00
parent 9bd490f402
commit fcb732874d

View file

@ -78,7 +78,7 @@ def handle_cli_error(status_name=None):
try:
raise
except CliError as e:
except (CliError, exceptions.UserError) as e:
cli_logger.critical(e)
except StorageEmpty as e:
cli_logger.error(