API: PackageDownloader::download() method does not indicate all download errors #1926
Labels
Priority: MEDIUM
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
The
PackageDownloader::download()
method throws an exception only in the case of "irrecoverable" download errors. When thefail_fast
flag is set to false, the method does not throw an error even if some targets fail to download. Errors related to individual downloads are reported exclusively via the corresponding librepo targets. Since these librepo targets are stored as local variables within the method, the caller of download() cannot check the status of individual downloads.This behavior impacts
reposync
, which is expected to:The text was updated successfully, but these errors were encountered: