lib/fog/rackspace/databases.rb in fog-maestrodev-1.14.0.20130806165225 vs lib/fog/rackspace/databases.rb in fog-maestrodev-1.15.0.20130829165835

- old
+ new

@@ -86,16 +86,16 @@ end def request(params, parse_json = true, &block) super(params, parse_json, &block) rescue Excon::Errors::NotFound => error - raise NotFound.slurp(error, region) + raise NotFound.slurp(error, self) rescue Excon::Errors::BadRequest => error - raise BadRequest.slurp error + raise BadRequest.slurp(error, self) rescue Excon::Errors::InternalServerError => error - raise InternalServerError.slurp error + raise InternalServerError.slurp(error, self) rescue Excon::Errors::HTTPStatusError => error - raise ServiceError.slurp error + raise ServiceError.slurp(error, self) end def endpoint_uri(service_endpoint_url=nil) @uri = super(@rackspace_endpoint || service_endpoint_url, :rackspace_database_url) end