feat(GODT-3172): detect missing keychain item

This commit is contained in:
Jakub
2024-01-04 08:28:17 +01:00
committed by Jakub Cuth
parent 89bb7b6389
commit 9b1daa0373
5 changed files with 41 additions and 5 deletions

View File

@ -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 {