lib/fog/oraclecloud/compute.rb in fog-oraclecloud-0.1.7 vs lib/fog/oraclecloud/compute.rb in fog-oraclecloud-0.1.8
- old
+ new
@@ -123,11 +123,11 @@
'Cookie' => @auth_cookie
}.merge!(params[:headers] || {})
}), &block)
rescue Excon::Errors::HTTPStatusError => error
raise case error
- #when Excon::Errors::NotFound
- #Fog::Oracle::Java::NotFound.slurp(error)
+ when Excon::Errors::NotFound
+ Fog::Compute::OracleCloud::NotFound.slurp(error)
when Excon::Errors::Conflict
data = Fog::JSON.decode(error.response.body)
raise Error.new(data['message'])
else
error
\ No newline at end of file