fix(GODT-2516): log error when the vault key cannot be created/loaded from the keychain.

Backported from release/perth-narrows.
This commit is contained in:
Xavier Michelon
2023-03-22 09:10:26 +01:00
parent ee5e87fe85
commit 4c94606e20

View File

@ -80,6 +80,7 @@ func newVault(locations *locations.Locations) (*vault.Vault, bool, bool, error)
)
if key, err := loadVaultKey(vaultDir); err != nil {
logrus.WithError(err).Error("Could not load/create vault key")
insecure = true
// We store the insecure vault in a separate directory