Skip to content
Snippets Groups Projects
Commit 14791a44 authored by Seblu's avatar Seblu
Browse files

better exception display of cliError in program entrance

parent a5ba5423
No related branches found
No related tags found
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment