diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-07 09:30:06 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-07 09:30:06 -0700 |
commit | 28c640e34797b30dcd43ef8191b2ffe126f0feb8 (patch) | |
tree | f0414ea2fdc81069109747a8ffd79457f925b980 /parser.c | |
parent | da4b3ef2f932606108aacb9d2e78ab0a9984e908 (diff) | |
download | txr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |