Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-foster committed Sep 20, 2023
1 parent 02e7414 commit 905ed8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlotlyKaleido.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function start(;plotly_version = missing,
end
if !(mathjax === missing)
if mathjax_version > _mathjax_last_version
error("The given mathjax version $(mathjax_version) is greater than the last supported version of $(_mathjax_last_version).")
error("The given mathjax version ($(mathjax_version)) is greater than the last supported version ($(_mathjax_last_version)) of Kaleido.")
end
if mathjax isa Bool && mathjax
push!(chromium_flags, "--mathjax=$(_mathjax_url_path)/$(mathjax_version)/MathJax.js")
Expand Down

0 comments on commit 905ed8a

Please sign in to comment.