internetarchive / iare

An interactive IARI JSON viewer
GNU Affero General Public License v3.0
5 stars 4 forks source link

Handle errors during check-url #26

Closed mojomonger closed 1 year ago

mojomonger commented 1 year ago

Sometimes the check-url endpoint from archive.org returns a 504 error code, breaking the UI.

Error handling is now in place to handle these errors and insert a fake object of url info for erroneous check-url fetches.

see PageData:: fetchOneUrl