summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--exception.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/exception.py b/exception.py
index 23149a8a7..7b6fdea9d 100644
--- a/exception.py
+++ b/exception.py
@@ -419,7 +419,9 @@ def saveToBugzilla(anaconda, exn, dest):
if not exn.tbFile:
exn.write(anaconda)
- if not filer.login(dest[0], dest[1]):
+ try:
+ cred = withBugzillaDo(filer, lambda b: b.login(dest[0], dest[1]))
+ except LoginError:
anaconda.intf.messageWindow(_("Unable To Login"),
_("There was an error logging into %s "
"using the provided username and "