Don't include error.kw in the error response in the JSON server.

This can include a full exception which cannot be marshalled. This
value contains duplicate information and isn't used by the client.

ticket 905
This commit is contained in:
Rob Crittenden 2011-02-10 13:35:44 -05:00
parent 30fdafcfbe
commit eed1130008

View File

@ -423,7 +423,6 @@ class jsonserver(WSGIExecutioner):
code=error.errno,
message=error.strerror,
name=error.__class__.__name__,
kw=dict(error.kw),
)
response = dict(
result=result,