diff options
Diffstat (limited to 'lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb')
-rw-r--r-- | lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb b/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb index 5ac39d7a83..d38a049a39 100644 --- a/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb +++ b/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb @@ -21,7 +21,6 @@ require "chef/formatters/error_inspectors/api_error_formatting" class Chef module Formatters module ErrorInspectors - # == CookbookSyncErrorInspector # Generates human-friendly explanations for errors encountered during # cookbook sync. @@ -29,7 +28,6 @@ class Chef # TODO: Not sure what errors are commonly seen during cookbook sync, so # the messaging is kinda generic. class CookbookSyncErrorInspector - include APIErrorFormatting attr_reader :exception @@ -48,7 +46,7 @@ class Chef when *NETWORK_ERROR_CLASSES describe_network_errors(error_description) else - error_description.section("Unexpected Error:","#{exception.class.name}: #{exception.message}") + error_description.section("Unexpected Error:", "#{exception.class.name}: #{exception.message}") end end @@ -75,7 +73,6 @@ class Chef describe_http_error(error_description) end end - end end end |