summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb')
-rw-r--r--lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb b/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
index a1f2c8ce37..b5b31454be 100644
--- a/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
+++ b/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -1,6 +1,6 @@
#--
# Author:: Daniel DeLeo (<dan@opscode.com>)
-# Copyright:: Copyright (c) 2012 Opscode, Inc.
+# Copyright:: Copyright (c) 2012-2016 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -39,6 +39,8 @@ class Chef
humanize_http_exception(error_description)
when *NETWORK_ERROR_CLASSES
describe_network_errors(error_description)
+ when EOFError
+ describe_eof_error(error_description)
else
error_description.section("Unexpected Error:","#{exception.class.name}: #{exception.message}")
end
@@ -165,4 +167,3 @@ EOM
end
end
end
-