Re: [PATCH] Log errors during dependency resolution.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 07, 2011 at 06:47:07PM -0400, Chris Lumens wrote:
> ---
>  pyanaconda/yuminstall.py |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
> index a1a44dc..355c427 100644
> --- a/pyanaconda/yuminstall.py
> +++ b/pyanaconda/yuminstall.py
> @@ -1503,6 +1503,9 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
>                      # 2 if success
>                      depprob = "\n".join(msgs)
>  
> +                    for m in msgs:
> +                        log.warning(m)
> +
>                      custom_buttons = [_("_Exit installer"), _("_Continue")]
>                      if not anaconda.ksdata:
>                          custom_buttons.insert(1, _("_Back"))
> @@ -1527,6 +1530,8 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
>  
>                  break
>              except RepoError as e:
> +                log.critical(e)
> +
>                  # FIXME: would be nice to be able to recover here
>                  rc = anaconda.intf.messageWindow(_("Error"),
>                                 _("Unable to read package metadata. This may be "
> -- 
> 1.7.4.1

Ack.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpzsNm56OVnF.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux