Skip to content

Commit

Permalink
WIP: multi line, new attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 30, 2024
1 parent 6fe6558 commit 69ac90a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions vault_oidc_ssh_cert_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,8 @@ def _issue_vault_token(
response.raise_for_status()
except requests.exceptions.HTTPError as http_error:
error_message = str(http_error)
print("******************")
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:
error_message += f"\n{repr(http_error.response)}"
error_message += f"\n{http_error.response.text}"
_set_error_message("Vault login error", error_message)
raise VoscaError from http_error

Expand Down

0 comments on commit 69ac90a

Please sign in to comment.