From d4c39fb37f83a0112af00fbe02d9970bd25f145c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 14 Feb 2024 15:40:47 -0800 Subject: [PATCH] setup_repos: print the reason, if download failed It happened a few times lately and I realized it's dumb that I can't see why. Signed-off-by: Adam Williamson --- setup_repos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup_repos.py b/setup_repos.py index 59b14b46..80603295 100755 --- a/setup_repos.py +++ b/setup_repos.py @@ -90,6 +90,7 @@ async def download_item(item, arch, targetdir): # "No .*available for {nvr}" indicates there are no # packages for this arch in the build if not f"available for {item}" in stderr: + print(f"Downloading {item} failed: {stderr}") return item return False