Method: Chef::DataCollector::ErrorHandlers#run_list_expand_failed
- Defined in:
- lib/chef/data_collector/error_handlers.rb
#run_list_expand_failed(node, exception) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This is an "early" failure during run_list expansion
(see EventDispatch::Base#run_list_expand_failed)
65 66 67 68 |
# File 'lib/chef/data_collector/error_handlers.rb', line 65 def (node, exception) description = Formatters::ErrorMapper.(node, exception) @error_description = description.for_json end |