Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JuliaLang/julia
Browse files Browse the repository at this point in the history
* 'master' of github.com:JuliaLang/julia:
  now we have helpful error messages in the web repl!
  • Loading branch information
StefanKarpinski committed Oct 13, 2011
2 parents ebd4d3b + bf076a0 commit 1b4e4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/webserver/julia-web.j
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1b4e4f4

Please sign in to comment.