diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2021-01-14 15:49:15 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 15:49:15 +1100 |
commit | 0612668e8c507b6a68ef5cfde3af2b3d1580cc7b (patch) | |
tree | b4ff7a8dbc00526bcd15ebc1a9174547f835c811 /infra/build_specified_commit.py | |
parent | 0a7813d978f3b6e5b0f5b868ed68cfa8f96cdb7f (diff) | |
download | oss-fuzz-0612668e8c507b6a68ef5cfde3af2b3d1580cc7b.tar.gz |
build_specified_commit: Return failure rather than raise exception when rebuild fails. (#4964)
Diffstat (limited to 'infra/build_specified_commit.py')
-rw-r--r-- | infra/build_specified_commit.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py index 722917fce..886496a9a 100644 --- a/infra/build_specified_commit.py +++ b/infra/build_specified_commit.py @@ -274,7 +274,8 @@ def build_fuzzers_from_commit(commit, # Rebuild image and re-copy src dir since things in /src could have changed. if not _build_image_with_retries(build_data.project_name): - raise RuntimeError('Failed to rebuild image.') + logging.error('Failed to rebuild image.') + return False cleanup() |