Skip to content

Commit

Permalink
If getfilter fails, show the filter name and then throw an error
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Oct 9, 2024
1 parent c211b6f commit 086b3b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Filters/Filters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ function getfilters(d::Dict)
return nothing
end
f = map(d["filters"]) do f
try
getfilter(filterdict[f["id"]], f)
catch e
@show f
rethrow(e)
end
end
return (f...,)
end
Expand Down

0 comments on commit 086b3b8

Please sign in to comment.