[Yum-devel] [PATCH] Do not hide error messages when opening metadata

James Antill james at fedoraproject.org
Wed Dec 14 16:36:37 UTC 2011


On Wed, 2011-12-14 at 17:04 +0100, Zdeněk Pavlas wrote:
> 'Cannot retrieve repository metadata (repomd.xml) for repository XY'
> does not help much, IMO.  The original exception (download failed,
> file does not exist, etc) is more descriptive.  We should:
> 
> a) include it in the wrapping message
> b) do not wrap it at all
> 
> This patch implements b)
> 
> I'm aware that there was probably a reason to add this to yum
> and removing it could break something..

 ACK.
 Not sure what the reason would be ... and that's all ancient code. One
"problem" is that we need to do a) for cases like the metalink failure
(as we can't be throwing URL grabber errors), but that's another patch.



More information about the Yum-devel mailing list