Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Update doozerlib/rhcos.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yuxiang Zhu <vfreex+github@gmail.com>
  • Loading branch information
jupierce and vfreex authored Mar 8, 2023
1 parent 3775085 commit 88b043c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doozerlib/rhcos.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ def get_package_build_objects(self) -> Dict[str, Dict]:
rpm_def = koji_api.getRPM(nvra, strict=True)
except koji.GenericError as e:
if self.runtime.group_config.rhcos.allow_missing_brew_rpms and "No such rpm" in str(e):
self.logger.warning("Failed to find RPM %s in Brew", nvra, exc_info=True)
continue # if conigured, just skip RPMs brew doesn't know about
raise Exception(f"Failed to find RPM {nvra} in brew: {e}")

Expand Down

0 comments on commit 88b043c

Please sign in to comment.