Skip to content

Commit

Permalink
don't catch all the MethodErrors (#87)
Browse files Browse the repository at this point in the history
* don't catch all the MethodErrors

* remove `@show`
  • Loading branch information
BeastyBlacksmith authored Jun 20, 2021
1 parent 7a4fcc6 commit cb180f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecipesPipeline/src/plot_recipe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cb180f1

Please sign in to comment.