mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[docker] Fixing bad namespace on errors
This commit is contained in:
parent
81ddf2f661
commit
9ac6241651
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ module Fog
|
|||
result
|
||||
end
|
||||
rescue Docker::Error::NotFoundError => e
|
||||
raise Fog::Errors::Error::NotFound.new(e.message)
|
||||
raise Fog::Errors::NotFound.new(e.message)
|
||||
rescue Docker::Error::TimeoutError => e
|
||||
raise Fog::Errors::Error::TimeoutError.new(e.message)
|
||||
raise Fog::Errors::TimeoutError.new(e.message)
|
||||
rescue Docker::Error::UnauthorizedError => e
|
||||
raise Fog::Errors::Fogdocker::AuthenticationError.new(e.message)
|
||||
rescue Docker::Error::DockerError => e
|
||||
|
|
Loading…
Add table
Reference in a new issue