From ec8084823ce5cc65ae894ebba82a8d1a5f75ab3e Mon Sep 17 00:00:00 2001 From: Sebastian Pfitzner Date: Wed, 26 Sep 2018 17:45:51 +0200 Subject: [PATCH] slightly nicer method error --- src/output.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.jl b/src/output.jl index 59df4613..1122ab93 100644 --- a/src/output.jl +++ b/src/output.jl @@ -278,7 +278,7 @@ end function _showjuno(io::IO, m::MIME"image/svg+xml", plt) if Symbol(plt.attr[:html_output_format]) ≠ :svg - throw(MethodError(show, (typeof(plt),))) + throw(MethodError(show, (typeof(m), typeof(plt)))) else _show(io, m, plt) end