Skip to content

Commit

Permalink
remove rethrow
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Feb 3, 2022
1 parent cfe58f4 commit e03664f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/printing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ function highlight_code(code; context=nothing)
try
sprint(highlight, MIME("text/ansi-debugger"), code, Lexers.JuliaLexer, _current_theme[]; context=context)
catch e
rethrow()
printstyled(stderr, "failed to highlight code, $e\n"; color=Base.warn_color())
return code
end
Expand Down

2 comments on commit e03664f

@KristofferC
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53795

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.1 -m "<description of version>" e03664f346e9b6dbe5a044d198f6f442069c4e91
git push origin v0.7.1

Please sign in to comment.