Author: justi9
Date: 2008-05-28 10:05:31 -0400 (Wed, 28 May 2008)
New Revision: 2078
Modified:
mgmt/cumin/python/cumin/action.py
Log:
bz446960 - Display a useful error message when a user tries to close a management session
Modified: mgmt/cumin/python/cumin/action.py
===================================================================
--- mgmt/cumin/python/cumin/action.py 2008-05-22 15:53:50 UTC (rev 2077)
+++ mgmt/cumin/python/cumin/action.py 2008-05-28 14:05:31 UTC (rev 2078)
@@ -50,8 +50,7 @@
text = "Completed"
else:
if item.exception:
- text = "Failed: " + \
- item.exception.__class__.__name__
+ text = "Failed: " + str(item.exception)
else:
text = "Failed: " + item.status