use Utils.to_s on property error

This commit is contained in:
Marco Concetto Rudilosso
2025-04-14 11:17:59 +02:00
parent b459eb656f
commit fc0f7f44c1
+1 -1
View File
@@ -999,7 +999,7 @@ module Liquid
end
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
def apply_operation(input, operand, operation)