1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #3072 from mattray/vcloud_director_eoferror

Clean up Excon::Errors::SocketError::EOFError warning in vcloud_director
This commit is contained in:
Wesley Beary 2014-07-28 09:07:40 -05:00
commit e6ac09cb7b

View file

@ -369,7 +369,7 @@ module Fog
def request(params)
begin
do_request(params)
rescue Excon::Errors::SocketError::EOFError
rescue EOFError
# This error can occur if Vcloud receives a request from a network
# it deems to be unauthorized; no HTTP response is sent, but the
# connection is sent a signal to terminate early.