From 28c640e34797b30dcd43ef8191b2ffe126f0feb8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 7 Sep 2015 09:30:06 -0700 Subject: Better message for caught exceptions. * parser.c (repl): Use ** prefix on caught exception message. Clearly indicate that the second value is args. --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.c') 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); } } -- cgit v1.2.3