Issue #14296 has been updated by Moses Mendoza. Status changed from In Topic Branch Pending Review to Closed
released in 2.7.15rc1. ---------------------------------------- Feature #14296: Improve puppet template function error message. https://projects.puppetlabs.com/issues/14296#change-62970 Author: Nan Liu Status: Closed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: Currently ERB template error does not generate easy to debug errors: Failed to parse template /tmp/example.erb: undefined method `[]' for nil:NilClass at /Users/nan/proj/tmp/invoke.pp:1 on node raiden.home.lan It would be helpful to provide file and line number that caused the erb template error, such as: debug: /tmp/example.erb:10:in `result' Failed to parse template /tmp/example.erb: undefined method `[]' for nil:NilClass at /Users/nan/proj/tmp/invoke.pp:1 on node raiden.home.lan -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
