Commit 14791a44 authored by Seblu's avatar Seblu
Browse files

better exception display of cliError in program entrance

parent a5ba5423
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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():