Skip to content

Commit

Permalink
feat(vault): improve error message for Authenticationerror
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoVoges committed Oct 30, 2023
1 parent 4030361 commit 2cdf120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kapitan/refs/vault_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def authenticate(self):

if not self.is_authenticated():
self.adapter.close()
raise VaultError("Vault Authentication Error, Environment Variables defined?")
raise VaultError("Vault Authentication Error, check if token in env:VAULT_TOKEN is valid and not expired")


def get_env(parameter):
Expand Down

0 comments on commit 2cdf120

Please sign in to comment.