mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 17:02:02 -05: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:
1 parent
30fdafcfbe
commit
eed1130008
1 file changed
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user