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

Re: [PATCH] Log errors during dependency resolution.



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: pgpL80tUHrJDd.pgp
Description: PGP signature


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