You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently it only raises an error if the status is 400..599, but we aren't handling any redirect cases (e.g. 301), so we should ensure it's what we expect (e.g. 200) or raise an error.
and indicate the WF step errored, and maybe even log this.
ndushay
changed the title
Update catalog should check the response from preservation
update_catalog pres WF step should check the response from preservation
Dec 18, 2019
ndushay
changed the title
update_catalog pres WF step should check the response from preservation
update_catalog pres robots WF step should check the response from preservation
Dec 19, 2019
currently it only raises an error if the status is 400..599, but we aren't handling any redirect cases (e.g. 301), so we should ensure it's what we expect (e.g. 200) or raise an error.
https://github.com/sul-dlss/preservation_robots/blob/master/lib/robots/sdr_repo/preservation_ingest/update_catalog.rb#L47-L52
The text was updated successfully, but these errors were encountered: