Skip to content

Commit

Permalink
WIP: Proper SystemExit
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 30, 2024
1 parent ca3cac3 commit 6a1603a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault_oidc_ssh_cert_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def github_vault_auth() -> None:
)
except requests.exceptions.HTTPError as http_error:
print(http_error.response.json())
raise SystemExit from http_error
raise SystemExit(1) from http_error

print(f"::add-mask::{vault_token}")
with open(os.environ["GITHUB_OUTPUT"], mode="a", encoding="utf-8") as ghof:
Expand Down

0 comments on commit 6a1603a

Please sign in to comment.