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 13:33:32 +01:00
parent 9bbeabcf50
commit 8b80938e49

View File

@ -81,6 +81,7 @@ func newVault(locations *locations.Locations, panicHandler async.PanicHandler) (
)
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