[Pki-devel] [PATCH 011] Handle JSON decode error in handle_exceptions()
Christian Heimes
cheimes at redhat.com
Wed Jul 15 20:54:06 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20150715/4318573f/attachment.sig>
More information about the Pki-devel
mailing list