On 2015-07-15 18:00, Christian Heimes wrote:
pki.handle_exceptions() raises a JSON decode exception when the body
of
the HTTPException is not a valid JSON string. The JSON exception hides
the true error message.
The patch also fixes a bug in PKIException.from_json(). The code and
ClassName attribute are now correctly set. Finally we have our first
unit test.
https://fedorahosted.org/pki/ticket/1488
https://fedorahosted.org/freeipa/ticket/5129
The patch was ACKed by Endi and has landed in
9fa1d0c968977ef23e26556b0a8e8e76b32c7288
Christian