WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Improve error message., Xen patchbot-unstable <=