Fail curl when downloading JiHu files errors out
What does this MR do and why?
Follow-up of !114109 (comment 1485286278).
Fail curl when downloading JiHu files
This avoids the scenario where the file would contain an HTTP error message instead of the actual content.
Results
The curl command still works: https://gitlab.com/gitlab-org/gitlab/-/jobs/4736796449#L48
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by David Dieulivol