ia64/xen-unstable
changeset 14326:b2f0840bb88f
Improve error message.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
author | Ewan Mellor <ewan@xensource.com> |
---|---|
date | Fri Mar 09 01:59:59 2007 +0000 (2007-03-09) |
parents | 2e160a17ceb6 |
children | 5dd14bfbe956 |
files | tools/python/xen/xm/XenAPI.py |
line diff
1.1 --- a/tools/python/xen/xm/XenAPI.py Fri Mar 09 01:25:43 2007 +0000 1.2 +++ b/tools/python/xen/xm/XenAPI.py Fri Mar 09 01:59:59 2007 +0000 1.3 @@ -155,7 +155,7 @@ class Session(xen.util.xmlrpclib2.Server 1.4 1.5 def _parse_result(result): 1.6 if type(result) != dict or 'Status' not in result: 1.7 - raise xmlrpclib.Fault(500, 'Missing Status in response from server') 1.8 + raise xmlrpclib.Fault(500, 'Missing Status in response from server' + result) 1.9 if result['Status'] == 'Success': 1.10 if 'Value' in result: 1.11 return result['Value']