app/service_adaptors/scopus2.rb in umlaut-4.0.0.beta5 vs app/service_adaptors/scopus2.rb in umlaut-4.0.0

- old
+ new

@@ -137,10 +137,11 @@ code, message = nil, nil if xml && error = xml.at_xpath("./service-error") code = error.at_xpath("./status/statusCode") message = error.at_xpath("./status/statusText") end - e = StandardError.new("Scopus returned error: #{code}: #{message}: scopus query: #{url}") + + e = StandardError.new("Scopus returned error HTTP status #{response.code}: #{code}: #{message}: scopus query: #{url}") return request.dispatched(self, DispatchedService::FailedFatal, e) end xml = Nokogiri::XML(response.body)