Expected behavior
When retrieving the CSV from lib-jobs, if lib-jobs raises a 502 error, the service should re-try after a couple seconds.
Actual behavior
AllsearchAPI raises an error and does not continue trying to load the database entries.
Steps to replicate
n/a
Impact of this bug
Database information on the AllSearch might not be as up-to-date as expected.
Honeybadger link and code snippet, if applicable
Honeybadger error
OpenURI::HTTPError: 502 Bad Gateway
391 | throw :open_uri_redirect, loc_uri
-- | --
392 | else
393 | raise OpenURI::HTTPError.new(io.status.join(' '), io)
394 | end
395 | end
Implementation notes, if any