Handle 404 error code when querying /origin/visit/latest/ API endpoint.
Move error handling in a catch block.
Add missing cypress test.
Differential D5111
assets/origin-search: Rework latest origin visit processing code anlambert on Feb 18 2021, 5:03 PM. Authored by Tags None Subscribers None
Details
Handle 404 error code when querying /origin/visit/latest/ API endpoint. Move error handling in a catch block. Add missing cypress test.
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D5111 (id=18255)Rebasing onto f34eca7521... Current branch diff-target is up to date. Changes applied before testcommit a46a430803cd0b527efb5324cd3b72ba819d6b9e Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Feb 11 14:31:08 2021 +0100 assets/origin-search: Rework latest origin visit processing code Handle 404 error code when querying /origin/visit/latest/ API endpoint. Move error handling in a catch block. Add missing cypress test. Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/581/ Comment Actions Build is green Patch application report for D5111 (id=18256)Rebasing onto f34eca7521... Current branch diff-target is up to date. Changes applied before testcommit 7768774bf7979f8f8078dab8d1e0d4a640b9ab27 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Feb 11 14:31:08 2021 +0100 assets/origin-search: Rework latest origin visit processing code Handle 404 error code when querying /origin/visit/latest/ API endpoint. Move error handling in a catch block. Add missing cypress test. See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/582/ for more details. |