Skip to content

Commit

Permalink
REPL-loop should call display_error in the latest world (similar to #…
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Feb 10, 2017
1 parent 0900553 commit 3eaf4d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ function _start()
end
end
catch err
display_error(err,catch_backtrace())
eval(Main, Expr(:body, Expr(:return, Expr(:call, Base.display_error,
QuoteNode(err), catch_backtrace()))))
exit(1)
end
if is_interactive && have_color
Expand Down

0 comments on commit 3eaf4d1

Please sign in to comment.