forked from Silverfish/proton-bridge
chore: Get better logging arround keychain list initialisation.
This commit is contained in:
@ -30,8 +30,9 @@ func listHelpers() (Helpers, string) {
|
||||
// Windows always provides a keychain.
|
||||
if isUsable(newWinCredHelper("")) {
|
||||
helpers[WindowsCredentials] = newWinCredHelper
|
||||
logrus.WithField("keychain", "WindowsCredentials").Info("Keychain is usable.")
|
||||
} else {
|
||||
logrus.WithField("keychain", "WindowsCredentials").Warn("Keychain is not available.")
|
||||
logrus.WithField("keychain", "WindowsCredentials").Debug("Keychain is not available.")
|
||||
}
|
||||
// Use WindowsCredentials by default.
|
||||
return helpers, WindowsCredentials
|
||||
|
||||
Reference in New Issue
Block a user