commit | dc2e4d2ea143d49a28f211b38fd50ce1c7639cf4 | [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:14 2024 +0000 |
tree | 95194bcaadb3eb10f2b8c792c73dc63fa3e0fb4e | |
parent | 839756642c4f25c33694ae741c06649a480efdd5 [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/+/64612 Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Sejal Sharma <sejalsharma@google.com>