mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-21 09:53:09 +00:00
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 <awilliam@redhat.com>
This commit is contained in:
parent
7aeced3988
commit
d4c39fb37f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user