We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1f055 commit 88d2121Copy full SHA for 88d2121
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