mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
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:
@ -81,6 +81,7 @@ func newVault(locations *locations.Locations, panicHandler async.PanicHandler) (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if key, err := loadVaultKey(vaultDir); err != nil {
|
if key, err := loadVaultKey(vaultDir); err != nil {
|
||||||
|
logrus.WithError(err).Error("Could not load/create vault key")
|
||||||
insecure = true
|
insecure = true
|
||||||
|
|
||||||
// We store the insecure vault in a separate directory
|
// We store the insecure vault in a separate directory
|
||||||
|
|||||||
Reference in New Issue
Block a user