~aperezdc/kiln

b0e8e3cfadd8f7e1ea1e4b51817957f7fd143527 — Adrian Perez de Castro 4 years ago 460f81e
shell: Improve printout of exceptions
1 files changed, 1 insertions(+), 1 deletions(-)

M shell/main.c
M shell/main.c => shell/main.c +1 -1
@@ 199,7 199,7 @@ main (int argc, char *argv[])
                JSCException *exception = jsc_context_get_exception (js_context);
                if (exception) {
                    g_autofree char *report = jsc_exception_report (exception);
                    g_printerr ("<stdin>:%s", report);
                    g_printerr ("<stdin>%s", report);
                    jsc_context_clear_exception (js_context);
                } else if (!jsc_value_is_undefined (js_result)) {
                    g_autofree char *result = jsc_value_to_string (js_result);