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

[PATCH] For the catch-all case, put the message into the UI, not the exn (#536854).



---
 packages.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages.py b/packages.py
index 02c3c92..8342cdf 100644
--- a/packages.py
+++ b/packages.py
@@ -153,12 +153,12 @@ def turnOnFilesystems(anaconda):
             message = _("An error was encountered while "
                         "formatting device %s.") % (device,)
             details = msg
-        except Exception as msg:
+        except Exception as e:
             # catch-all
             title = _("Storage Activation Failed")
             message = _("An error was encountered while "
                         "activating your storage configuration.")
-            details = msg
+            details = str(e)
 
         if title:
             rc = anaconda.intf.detailedMessageWindow(title, message, details,
-- 
1.6.5.1


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