Cleanup code of error handling

This commit is contained in:
Bob Sun 2018-11-17 21:41:28 -08:00
parent 9a3131943f
commit 2bfb36c527
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
8 changed files with 17 additions and 43 deletions

View file

@ -163,7 +163,6 @@ class CredentialProviderViewController: ASCredentialProviderViewController, UITa
self.extensionContext.completeRequest(withSelectedCredential: passwordCredential, completionHandler: nil)
}
} catch {
print(error)
DispatchQueue.main.async {
// remove the wrong passphrase so that users could enter it next time
self.passwordStore.pgpKeyPassphrase = nil