From 26554a52f2a6909c7a694f439e641ff241db83c7 Mon Sep 17 00:00:00 2001 From: KristofferC Date: Mon, 25 May 2020 17:42:51 +0200 Subject: [PATCH] no longer color the exception provided error message as red this doesnt compose well with exceptions trying to provide colors in their error messages --- base/errorshow.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base/errorshow.jl b/base/errorshow.jl index a4583bc819856..25e2b54b5b171 100644 --- a/base/errorshow.jl +++ b/base/errorshow.jl @@ -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