Fix error logging when we get a 500 response.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-03-14 23:14:19 +00:00
1 parent 4438f722ec
commit 618ef9cd1c
1 file changed
+1 -1
+1 -1
View File
@@ -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' + result)
raise xmlrpclib.Fault(500, 'Missing Status in response from server: ' + str(result))
if result['Status'] == 'Success':
if 'Value' in result:
return result['Value']
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.