From 14791a442f2e0eac4afe1b64260426d3341d882e Mon Sep 17 00:00:00 2001 From: Seblu Date: Sat, 8 Jan 2011 03:27:04 +0100 Subject: [PATCH] better exception display of cliError in program entrance --- bin/cc-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cc-cli b/bin/cc-cli index 7b01215..30db886 100755 --- a/bin/cc-cli +++ b/bin/cc-cli @@ -147,7 +147,7 @@ except BadArgument as e: except KeyboardInterrupt: exit(1) except cliError as e: - printer.error("cliError: %s"%str(e)) + printer.error("%s: %s"%(type(e), str(e))) except Exception as e: if cccli.debug: if "printer" in locals(): -- GitLab