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

[Xen-changelog] [xen-unstable] Improve error message.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1173405599 0
# Node ID b2f0840bb88fd3b6bd142287fdc5ac0525e14bbd
# Parent  2e160a17ceb6a4196e1e0294136cd94304c8055a
Improve error message.

Signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx>
---
 tools/python/xen/xm/XenAPI.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2e160a17ceb6 -r b2f0840bb88f tools/python/xen/xm/XenAPI.py
--- a/tools/python/xen/xm/XenAPI.py     Fri Mar 09 01:25:43 2007 +0000
+++ b/tools/python/xen/xm/XenAPI.py     Fri Mar 09 01:59:59 2007 +0000
@@ -155,7 +155,7 @@ class Session(xen.util.xmlrpclib2.Server
 
 def _parse_result(result):
     if type(result) != dict or 'Status' not in result:
-        raise xmlrpclib.Fault(500, 'Missing Status in response from server')
+        raise xmlrpclib.Fault(500, 'Missing Status in response from server' + 
result)
     if result['Status'] == 'Success':
         if 'Value' in result:
             return result['Value']

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.