diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2005-10-31 17:21:03 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2005-10-31 17:21:03 +0000 |
commit | a60cea5d96a0bb5e654f42bd8efaa0c8127d4a0c (patch) | |
tree | 0dfd4140b571479c09aab7f02dd210371344fff1 | |
parent | 65d5eb1c94dfa9741d57db31454d21929b5ee7ea (diff) | |
download | anaconda-a60cea5d96a0bb5e654f42bd8efaa0c8127d4a0c.tar.gz anaconda-a60cea5d96a0bb5e654f42bd8efaa0c8127d4a0c.tar.xz anaconda-a60cea5d96a0bb5e654f42bd8efaa0c8127d4a0c.zip |
Log error messages, detail repoerror cause
-rw-r--r-- | yuminstall.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index 163f15611..f29dc621a 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -189,7 +189,7 @@ class AnacondaYum(yum.YumBase): self.localPackages = [] def errorlog(self, value, msg): - pass + log.error(msg) def filelog(self, value, msg): pass @@ -295,7 +295,8 @@ class YumBackend(AnacondaBackend): _("Unable to read package metadata. This may be " "due to a missing repodata directory. Please " "ensure that your install tree has been " - "correctly generated."), + "correctly generated. + %s" % e), type="custom", custom_icon="error", custom_buttons=[_("_Exit")]) sys.exit(0) |