Method: Chef::Formatters::APIErrorFormatting#describe_network_errors
- Defined in:
- lib/chef/formatters/error_inspectors/api_error_formatting.rb
#describe_network_errors(error_description) ⇒ Object
30 31 32 33 34 35 36 37 38 39 |
# File 'lib/chef/formatters/error_inspectors/api_error_formatting.rb', line 30 def describe_network_errors(error_description) error_description.section("Networking Error:", " \#{exception.message}\n\n Your chef_server_url may be misconfigured, or the network could be down.\n E\n error_description.section(\"Relevant Config Settings:\", <<~E)\n chef_server_url \"\#{server_url}\"\n E\nend\n") |