aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-05-22 02:40:47 +0000
committerbloodstalker <thabogre@gmail.com>2018-05-22 02:40:47 +0000
commitac26d1d300240e18282b9dc474e53e8b9b991c3f (patch)
treeabd3a2e222acf78eb59cd80ebac874f308025aca
parentfix (diff)
downloadkaminokumo-ac26d1d300240e18282b9dc474e53e8b9b991c3f.tar.gz
kaminokumo-ac26d1d300240e18282b9dc474e53e8b9b991c3f.zip
update
-rwxr-xr-xkaminokumo4
1 files changed, 3 insertions, 1 deletions
diff --git a/kaminokumo b/kaminokumo
index 0f537ec..a9c6340 100755
--- a/kaminokumo
+++ b/kaminokumo
@@ -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)