Skip to content

Commit

Permalink
no longer color the exception provided error message as red (JuliaLan…
Browse files Browse the repository at this point in the history
…g#36024)

this doesnt compose well with exceptions trying to provide colors in
their error messages
  • Loading branch information
KristofferC committed May 28, 2020
1 parent 39fc4ee commit c974bc6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions base/errorshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ end

function showerror(io::IO, ex, bt; backtrace=true)
try
with_output_color(get(io, :color, false) ? error_color() : :nothing, io) do io
showerror(io, ex)
end
showerror(io, ex)
finally
backtrace && show_backtrace(io, bt)
end
Expand Down

0 comments on commit c974bc6

Please sign in to comment.