From 6ffe067e0ae6b461b0840b128e3b07e5253abd53 Mon Sep 17 00:00:00 2001 From: Andreas Olsson Date: Sat, 30 Mar 2024 11:08:46 +0100 Subject: [PATCH] WIP: some debug prints --- vault_oidc_ssh_cert_action.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vault_oidc_ssh_cert_action.py b/vault_oidc_ssh_cert_action.py index 5396d3b..9ff010a 100644 --- a/vault_oidc_ssh_cert_action.py +++ b/vault_oidc_ssh_cert_action.py @@ -46,6 +46,11 @@ def _issue_vault_token( response.raise_for_status() except requests.exceptions.HTTPError as http_error: error_message = str(http_error) + print("******************") + print(http_error.response) + print("******************") + print(http_error.response.json()) + print("******************") if http_error.response is not None: error_message += f"\n{repr(http_error.response)}" _set_error_message("Vault login error", error_message)