1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

fix rescue to use new excon error namespacing

This commit is contained in:
geemus 2016-07-01 08:47:14 -05:00
parent ff675d0bc0
commit 95a296cdfd

View file

@ -30,7 +30,7 @@ module Fog
credentials[:region] = region
#these indicate the metadata service is unavailable or has no profile setup
credentials
rescue Excon::Errors::Error => e
rescue Excon::Error => e
Fog::Logger.warning("Unable to fetch credentials: #{e.message}")
super
end