Permalink
Browse files

use latest showerror, similar to JuliaLang/julia#19916

  • Loading branch information...
1 parent b8948a1 commit bd30de5be6f2922b0a4c84b33d9732e4b879697c @stevengj stevengj committed Jan 7, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/execute_request.jl
@@ -97,7 +97,7 @@ function error_content(e, bt=catch_backtrace(); backtrace_top::Symbol=:include_s
evalue = try
# Peel away one LoadError layer that comes from running include_string on the cell
isa(e, LoadError) && (e = e.error)
- sprint((io, e, bt) -> showerror(io, e, bt, backtrace=false), e, bt)
+ sprint((io, e, bt) -> eval(:(showerror($io, $(QuoteNode(e)), $bt, backtrace=false))), e, bt)
catch
"SYSTEM: show(lasterr) caused an error"
end

0 comments on commit bd30de5

Please sign in to comment.