mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Rescue 404 when fetching zone
This commit is contained in:
parent
0ca0df13b7
commit
ff4c129939
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Fog
|
|||
data = connection.get_domain(zone_id).body
|
||||
data.merge!(:id => data['name'])
|
||||
new(data)
|
||||
rescue Excon::Errors::NotFound
|
||||
rescue Fog::Service::NotFound
|
||||
nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue