From 8b80938e4960a30989039021f80a0668080f8787 Mon Sep 17 00:00:00 2001 From: Xavier Michelon Date: Wed, 22 Mar 2023 13:33:32 +0100 Subject: [PATCH] fix(GODT-2516): log error when the vault key cannot be created/loaded from the keychain. Backported from release/perth-narrows. --- internal/app/vault.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/vault.go b/internal/app/vault.go index b194fcae..042e89f2 100644 --- a/internal/app/vault.go +++ b/internal/app/vault.go @@ -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