commit | 9dd0c79f36ec760cd9e4d8da8d2ae5901201d2a2 | [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:19 2024 +0000 |
tree | df8b5bc6215c452c59f67303b4bc3823f40f95d3 | |
parent | 46cfa59f0d503a39c2cc56fe0723f223e312bfae [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/+/64555 Reviewed-by: Sejal Sharma <sejalsharma@google.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>