Revision 66785513

View differences:

src/cloud/common/CloudClient.rb
113 113
            str << "Server: #{url.host}:#{url.port}"
114 114

  
115 115
            return CloudClient::Error.new(str,"504")
116
        rescue SocketError => e
117
            str =  "Error timeout while connected to server (#{e.to_s}).\n"
118

  
119
            return CloudClient::Error.new(str,"503")
120
        rescue
121
            return CloudClient::Error.new($!.to_s,"503")
116 122
        end
117 123

  
118 124
        if res.is_a?(Net::HTTPSuccess)

Also available in: Unified diff