Method: Chef::ResourceReporter#cookbook_sync_failed

Defined in:
lib/chef/resource_reporter.rb

#cookbook_sync_failed(cookbooks, exception) ⇒ Object


226
227
228
229
# File 'lib/chef/resource_reporter.rb', line 226

def cookbook_sync_failed(cookbooks, exception)
  description = Formatters::ErrorMapper.cookbook_sync_failed(cookbooks, exception)
  @error_descriptions = description.for_json
end