summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-10 09:48:03 -0400
committerChris Lumens <clumens@redhat.com>2008-09-10 09:48:03 -0400
commit4a40c5e707f86d6b669372eb09bdf40b34228f5e (patch)
tree574b72cc1ebcb523feedc04b7294e56c5084ffa7 /exception.py
parent0d582631972d50a51e8f032b6bb045ea249b4238 (diff)
downloadanaconda-4a40c5e707f86d6b669372eb09bdf40b34228f5e.tar.gz
anaconda-4a40c5e707f86d6b669372eb09bdf40b34228f5e.tar.xz
anaconda-4a40c5e707f86d6b669372eb09bdf40b34228f5e.zip
Catch errors from using the wrong bugzilla field and display them.
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exception.py b/exception.py
index ab1b3bbb6..6d84c5154 100644
--- a/exception.py
+++ b/exception.py
@@ -363,7 +363,7 @@ def saveToBugzilla(anaconda, exn, dest):
except CommunicationError, e:
msg = _("Your bug could not be filed due to the following error "
"when communicating with bugzilla:\n\n%s" % str(e))
- except ValueError, e:
+ except (TypeError, ValueError), e:
msg = _("Your bug could not be filed due to bad information in "
"the bug fields. This is most likely an error in "
"anaconda:\n\n%s" % str(e))