Skip to content

Commit e03664f

Browse files
committed
remove rethrow
1 parent cfe58f4 commit e03664f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/printing.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ function highlight_code(code; context=nothing)
223223
try
224224
sprint(highlight, MIME("text/ansi-debugger"), code, Lexers.JuliaLexer, _current_theme[]; context=context)
225225
catch e
226-
rethrow()
227226
printstyled(stderr, "failed to highlight code, $e\n"; color=Base.warn_color())
228227
return code
229228
end

0 commit comments

Comments
 (0)