mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Improve error message.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
This commit is contained in:
1 parent
d0a005909a
commit
99598dfc8a
1 file changed
+1
-1
@@ -155,7 +155,7 @@ class Session(xen.util.xmlrpclib2.ServerProxy):
|
||||
|
||||
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']
|
||||
|
||||