From cb180f10c33990dbdff55b2d1ed9a6b4c79b911f Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Sun, 20 Jun 2021 21:31:50 +0200 Subject: [PATCH] don't catch all the MethodErrors (#87) * don't catch all the MethodErrors * remove `@show` --- RecipesPipeline/src/plot_recipe.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecipesPipeline/src/plot_recipe.jl b/RecipesPipeline/src/plot_recipe.jl index b6e779899..06e2db956 100644 --- a/RecipesPipeline/src/plot_recipe.jl +++ b/RecipesPipeline/src/plot_recipe.jl @@ -40,7 +40,7 @@ function _process_plotrecipe(plt, kw, kw_list, still_to_process) push!(still_to_process, data.plotattributes) end catch err - if isa(err, MethodError) + if err isa MethodError && occursin("plot recipe", err.args) push!(kw_list, kw) else rethrow()