mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Raise FilterNotFound on use of non-existent filter
This commit is contained in:
@@ -56,7 +56,7 @@ module Liquid
|
||||
if strainer.respond_to?(method)
|
||||
strainer.__send__(method, *args)
|
||||
else
|
||||
args.first
|
||||
raise FilterNotFound, "Filter '#{method}' not found"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user