puppetlabs / puppetlabs-pe_status_check

Self Service Module for Puppet Enterprise
Apache License 2.0
1 stars 33 forks source link

(SUP-4282) add error handling to S0044 #192

Closed taikaa closed 1 year ago

taikaa commented 1 year ago

This commit adds error handling to S0044 to guard against Facter failures such as a NoMethodError for the set_in_section method.

Please check off the steps below as you complete each step

taikaa commented 1 year ago

PR has been created with broad error handling. Perhaps this should be more specific with different exception classes such as NoMethodError etc. Let me know your thoughts!