mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-24 02:46:44 +00:00
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