diff --git a/vault_oidc_ssh_cert_action.py b/vault_oidc_ssh_cert_action.py index 7f7d7bc..ab04424 100644 --- a/vault_oidc_ssh_cert_action.py +++ b/vault_oidc_ssh_cert_action.py @@ -47,8 +47,10 @@ def _issue_vault_token( except requests.exceptions.HTTPError as http_error: error_message = str(http_error) print("******************") - print(dir(http_error.response)) + print(type(http_error.response.text)) + print(http_error.response.text) print("******************") + print(type(http_error.response.json())) print(http_error.response.json()) print("******************") if http_error.response is not None: