mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 11:20:41 -07:00
use Utils.to_s on property error
This commit is contained in:
@@ -999,7 +999,7 @@ module Liquid
|
|||||||
end
|
end
|
||||||
|
|
||||||
def raise_property_error(property)
|
def raise_property_error(property)
|
||||||
raise Liquid::ArgumentError, "cannot select the property '#{property}'"
|
raise Liquid::ArgumentError, "cannot select the property '#{Utils.to_s(property)}'"
|
||||||
end
|
end
|
||||||
|
|
||||||
def apply_operation(input, operand, operation)
|
def apply_operation(input, operand, operation)
|
||||||
|
|||||||
Reference in New Issue
Block a user