c37aba2 rpc: do not crash when unable to parse JSON

Authored and Committed by jcholast 7 years ago
    rpc: do not crash when unable to parse JSON
    
    When unable to parse JSON response from the server, properly raise
    JSONError not to cause a crash.
    
    https://fedorahosted.org/freeipa/ticket/4739
    
    Reviewed-By: David Kupka <dkupka@redhat.com>
    
        
file modified
+1 -1