From 3ca5d0af71715f213458a615b4ec25e557f65864 Mon Sep 17 00:00:00 2001 From: Xavier Michelon Date: Tue, 21 Mar 2023 17:25:35 +0100 Subject: [PATCH] fix(GODT-2516): log error when the vault key cannot be created/loaded from the keychain. --- internal/app/vault.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/vault.go b/internal/app/vault.go index d49be879..983c329f 100644 --- a/internal/app/vault.go +++ b/internal/app/vault.go @@ -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