Skip to content

Commit

Permalink
WIP: revert multi-line approach
Browse files Browse the repository at this point in the history
This reverts commit 0ce69a8.
  • Loading branch information
andreaso committed Mar 30, 2024
1 parent 0ce69a8 commit b779dd8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vault_oidc_ssh_cert_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ def _issue_vault_token(
response = requests.post(login_url, data=payload, timeout=10)
response.raise_for_status()
except requests.exceptions.HTTPError as http_error:
error_message = str(http_error)
if http_error.response is not None:
error_message += "\nHTTP error contained the following output:\n"
error_message += http_error.response.text
error_message += "\n"
_set_error_message("Vault login error", str(http_error))
raise VoscaError from http_error

Expand Down

0 comments on commit b779dd8

Please sign in to comment.