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:
parent
ff675d0bc0
commit
95a296cdfd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue