diff options
-rwxr-xr-x | kaminokumo | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -51,7 +51,9 @@ def main(): if argparser.args.dbg: try: premain(argparser) - except: + except Exception as e: + print(e.__doc__) + if e.message: print(e.message) variables = globals().copy() variables.update(locals()) shell = code.InteractiveConsole(variables) |