mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Throw the error for the attempt just made not the earlier one.
This commit is contained in:
1 parent
a4874fdf32
commit
66e99faafe
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public struct CredentialsManager {
|
||||
|
||||
let addStatus = SecItemAdd(query as CFDictionary, nil)
|
||||
if addStatus != errSecSuccess {
|
||||
throw CredentialsError.unhandledError(status: status)
|
||||
throw CredentialsError.unhandledError(status: addStatus)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user