summaryrefslogtreecommitdiff
path: root/lib/chef/config_fetcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/config_fetcher.rb')
-rw-r--r--lib/chef/config_fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/config_fetcher.rb b/lib/chef/config_fetcher.rb
index ad03c845ab..d9d100ed00 100644
--- a/lib/chef/config_fetcher.rb
+++ b/lib/chef/config_fetcher.rb
@@ -39,7 +39,7 @@ class Chef
def fetch_remote_config
http.get("")
- rescue SocketError, SystemCallError, Net::HTTPServerException => error
+ rescue SocketError, SystemCallError, Net::HTTPClientException => error
Chef::Application.fatal!("Cannot fetch config '#{config_location}': '#{error.class}: #{error.message}")
end