1
0
Fork 0
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:
David Davis 2016-03-22 17:17:37 -04:00
parent 81ddf2f661
commit 9ac6241651

View file

@ -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