4cc6b9c Vault: improve vault server archival/retrieval calls error handling

1 file Authored by ftrivino a year ago, Committed by rcritten a year ago,
    Vault: improve vault server archival/retrieval calls error handling
    
    If a vault operation fails, the error message just says "InternalError". This commit
    improves error handling of key archival and retrieval calls by catching the PKIException
    error and raising it as an IPA error.
    
    Related: https://pagure.io/freeipa/issue/9191
    
    Signed-off-by: Francisco Trivino <ftrivino@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+26 -14