forked from Silverfish/proton-bridge
feat(GODT-3172): detect missing keychain item
This commit is contained in:
@ -125,7 +125,7 @@ func (h *macOSHelper) Get(secretURL string) (string, string, error) {
|
||||
}
|
||||
|
||||
if len(results) == 0 {
|
||||
return "", "", errors.New("no result")
|
||||
return "", "", ErrKeychainNoItem
|
||||
}
|
||||
|
||||
if len(results) != 1 {
|
||||
|
||||
Reference in New Issue
Block a user