mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Catch new exception that is being thrown.
This commit is contained in:
parent
102646581c
commit
6c0c274490
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module Fog
|
|||
connection.cdn.post_container(key, 'X-CDN-Enabled' => 'False')
|
||||
end
|
||||
true
|
||||
rescue Excon::Errors::NotFound
|
||||
rescue Excon::Errors::NotFound, Fog::Storage::HP::NotFound
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue