We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee1f055 + 88d2121 commit f1e2e0bCopy full SHA for f1e2e0b
1 file changed
lib/puppet/parser/functions/intersection.rb
@@ -22,7 +22,7 @@ module Puppet::Parser::Functions
22
second = arguments[1]
23
24
unless first.is_a?(Array) && second.is_a?(Array)
25
- raise(Puppet::ParseError, 'intersection(): Requires 2 arrays')
+ raise(Puppet::ParseError, "intersection(): Requires 2 arrays, got #{first.class} and #{second.class}")
26
end
27
28
result = first & second
0 commit comments