mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-31 07:06:00 +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 |         # "No .*available for {nvr}" indicates there are no | ||||||
|         # packages for this arch in the build |         # packages for this arch in the build | ||||||
|         if not f"available for {item}" in stderr: |         if not f"available for {item}" in stderr: | ||||||
|  |             print(f"Downloading {item} failed: {stderr}") | ||||||
|             return item |             return item | ||||||
|     return False |     return False | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user