1
0
Fork 0

- [GUI] ensured the key for cached password for TLC client certificate is erased if an error occurred during gemini connection.

This commit is contained in:
cage 2024-02-15 16:49:57 +01:00
parent ecfd7a19cd
commit b1444a4804
1 changed files with 4 additions and 0 deletions

View File

@ -308,8 +308,12 @@
(gemini-client:meta e)
url))
(error (e)
(when certificate
(gemini-client:remove-cached-certificate-password certificate))
(error (_ "Error getting ~s: ~a") url e))
(condition (c)
(when certificate
(gemini-client:remove-cached-certificate-password certificate))
(error (_ "Error getting ~s: ~a") url c)))))
(defun gemini-request (iri use-cache titan-data)