lib/relaton_iso/iso_bibliography.rb in relaton-iso-1.18.2 vs lib/relaton_iso/iso_bibliography.rb in relaton-iso-1.18.4
- old
+ new
@@ -15,11 +15,10 @@
def search(pubid, opts = {})
pubid = Pubid::Iso::Identifier.parse(pubid) if pubid.is_a? String
HitCollection.new(pubid, opts).fetch
rescue SocketError, Timeout::Error, Errno::EINVAL, Errno::ECONNRESET,
EOFError, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError,
- Net::ProtocolError, OpenSSL::SSL::SSLError, Errno::ETIMEDOUT,
- Algolia::AlgoliaUnreachableHostError => e
+ Net::ProtocolError, OpenSSL::SSL::SSLError, Errno::ETIMEDOUT => e
raise RelatonBib::RequestError, e.message
end
# @param ref [String] the ISO standard Code to look up (e..g "ISO 9000")
# @param year [String, NilClass] the year the standard was published