summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-07 09:30:06 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-07 09:30:06 -0700
commit28c640e34797b30dcd43ef8191b2ffe126f0feb8 (patch)
treef0414ea2fdc81069109747a8ffd79457f925b980 /parser.c
parentda4b3ef2f932606108aacb9d2e78ab0a9984e908 (diff)
downloadtxr-28c640e34797b30dcd43ef8191b2ffe126f0feb8.tar.gz
txr-28c640e34797b30dcd43ef8191b2ffe126f0feb8.tar.bz2
txr-28c640e34797b30dcd43ef8191b2ffe126f0feb8.zip
Better message for caught exceptions.
* parser.c (repl): Use ** prefix on caught exception message. Clearly indicate that the second value is args.
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index f06ccae2..aea9cec6 100644
--- a/parser.c
+++ b/parser.c
@@ -583,7 +583,7 @@ val repl(val bindings, val in_stream, val out_stream)
put_line(nil, nil);
}
} else {
- format(out_stream, lit("caught exception: ~s ~s\n"),
+ format(out_stream, lit("** ~s exception, args: ~s\n"),
exsym, exvals, nao);
}
}