fix(GODT-2516): log error when the vault key cannot be created/loaded from the keychain.
This commit is contained in:
parent
9425e091d8
commit
3ca5d0af71
|
@ -81,6 +81,7 @@ func newVault(locations *locations.Locations) (*vault.Vault, bool, bool, error)
|
|||
)
|
||||
|
||||
if key, err := getVaultKey(vaultDir); err != nil {
|
||||
logrus.WithError(err).Error("Could not load/create vault key")
|
||||
insecure = true
|
||||
|
||||
// We store the insecure vault in a separate directory
|
||||
|
|
Loading…
Reference in New Issue