Skip to content

Commit

Permalink
WIP: some debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 30, 2024
1 parent 416e03b commit 6ffe067
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vault_oidc_ssh_cert_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6ffe067

Please sign in to comment.