From 88b043cd44b58ba8090ef6d7e5d3af172fe6ac4c Mon Sep 17 00:00:00 2001 From: Justin Pierce Date: Wed, 8 Mar 2023 09:12:22 -0500 Subject: [PATCH] Update doozerlib/rhcos.py Co-authored-by: Yuxiang Zhu --- doozerlib/rhcos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doozerlib/rhcos.py b/doozerlib/rhcos.py index 7aec4a4b..5692bff0 100644 --- a/doozerlib/rhcos.py +++ b/doozerlib/rhcos.py @@ -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}")