#172 Save a copy of the IPA error message when parsing the JSON result
Merged by rcritten. Opened by rcritten.
rcritten/certmonger issue_8537  into  master

json_decref() is freeing the parsed value so the error message was
undefined.

Issued discovered in https://pagure.io/freeipa/issue/8537

Tested as works in IPA PR https://github.com/freeipa/freeipa/pull/5180

log = http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/3c4b24d4-12fd-11eb-842a-fa163ec3b944/report.html

rebased onto be632059b48b5c6b5d767c8b37afe0582c23cd38

Pull-Request has been merged by rcritten

Metadata