mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
30fdafcfbe
commit
eed1130008
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user