From 0b778aaa9d6fdcba02fe84091419f2a5b2b6907c Mon Sep 17 00:00:00 2001 From: Stephan Boyer Date: Thu, 13 Oct 2011 00:17:07 -0400 Subject: [PATCH] now we have helpful error messages in the web repl! --- ui/webserver/julia-web.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/webserver/julia-web.j b/ui/webserver/julia-web.j index be731a8b66df4..a18b221fa7343 100755 --- a/ui/webserver/julia-web.j +++ b/ui/webserver/julia-web.j @@ -147,9 +147,9 @@ function socket_callback(fd) try result = eval(expr) catch error - return send_error("There was an error!") + return send_error(print_to_string(show, error)) end - return send_eval_result(string(result)) + return send_eval_result(print_to_string(show, result)) end end