Method: Chef::Formatters::ErrorMapper.cookbook_sync_failed
- Defined in:
- lib/chef/formatters/error_mapper.rb
.cookbook_sync_failed(cookbooks, exception) ⇒ Object
60 61 62 63 64 65 66 |
# File 'lib/chef/formatters/error_mapper.rb', line 60 def self.cookbook_sync_failed(cookbooks, exception) error_inspector = ErrorInspectors::CookbookSyncErrorInspector.new(cookbooks, exception) headline = "Error Syncing Cookbooks:" description = ErrorDescription.new(headline) error_inspector.add_explanation(description) description end |