commit | b1e3df2443d6a47eadc352c3cc6e53737cbdfc40 | [log] [tgz] |
---|---|---|
author | He Gao <hegao@google.com> | Sat Feb 03 01:07:15 2024 +0000 |
committer | He Gao <hegao@google.com> | Mon Feb 05 18:14:31 2024 +0000 |
tree | a762d2451b87c71cbabd06ac3d458d0882046f9d | |
parent | 42b0b83e52fbafab14076c64b8918c61c90a0298 [diff] |
sbom: don't error out when HTTP request returns error Sometimes http request errors out without returning a return code, which is not expected and causes SBOM generation failure. We should treat the error same as target URI doesn't exist. BUG=b/323569827 TEST=presubmit RELESAE_NOTE=None Change-Id: Idb48d904f500ed5a059a71050406d73e5d75264b Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/64614 Reviewed-by: Sejal Sharma <sejalsharma@google.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>