diff options
Diffstat (limited to 'lib/puppet/parser/ast/function.rb')
-rw-r--r-- | lib/puppet/parser/ast/function.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/function.rb b/lib/puppet/parser/ast/function.rb index 2c63c8b76..f67531ae3 100644 --- a/lib/puppet/parser/ast/function.rb +++ b/lib/puppet/parser/ast/function.rb @@ -11,7 +11,10 @@ class Puppet::Parser::AST args = @arguments.safeevaluate(:scope => scope) - return scope.send("function_" + @name, args) + #exceptwrap :message => "Failed to execute %s" % @name, + # :type => Puppet::ParseError do + return scope.send("function_" + @name, args) + #end end def initialize(hash) |