[Yum-devel] [UG] RFE for ulrgrabber - print url when 404

Jeremy Katz katzj at redhat.com
Tue Apr 28 00:54:00 UTC 2009


On Monday, April 27 2009, Seth Vidal said:
> There are two ways I can think of doing this:
>
> 1. put it in the error message results - ugly in terms of it potentially  
> being A LOT of text but trivial to do in the code
> 2. adding a .url attribute to the exception we're creating so we can  
> always refer to that url from any exception easily enough.
>
> In terms of getting ahold of the problem I like #2 but in terms of not  
> making everyone write different code I like #1.
>
> There is, of course, nothing prevening both 1 and 2.

Doing both seems to be the best answer to me, especially as neither is
terribly complex

Jeremy


More information about the Yum-devel mailing list