mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
doctor: reduce output for cert test
This commit is contained in:
@ -225,8 +225,7 @@
|
|||||||
(gnutls-verify-error t))
|
(gnutls-verify-error t))
|
||||||
(dolist (url '("https://elpa.gnu.org" "https://melpa.org"))
|
(dolist (url '("https://elpa.gnu.org" "https://melpa.org"))
|
||||||
(when! (condition-case-unless-debug e
|
(when! (condition-case-unless-debug e
|
||||||
(if (let ((inhibit-message t)) (url-retrieve-synchronously url))
|
(unless (let ((inhibit-message t)) (url-retrieve-synchronously url))
|
||||||
(ignore (success! "Validated %s" url))
|
|
||||||
'empty)
|
'empty)
|
||||||
('timed-out 'timeout)
|
('timed-out 'timeout)
|
||||||
('error e))
|
('error e))
|
||||||
@ -243,7 +242,7 @@
|
|||||||
t
|
t
|
||||||
'empty)
|
'empty)
|
||||||
('timed-out 'timeout)
|
('timed-out 'timeout)
|
||||||
('error (ignore (success! "Successfully rejected %s" url))))
|
('error))
|
||||||
(pcase it
|
(pcase it
|
||||||
(`empty (error! "Couldn't reach %s" url))
|
(`empty (error! "Couldn't reach %s" url))
|
||||||
(`timeout (error! "Timed out trying to contact %s" ex))
|
(`timeout (error! "Timed out trying to contact %s" ex))
|
||||||
|
Reference in New Issue
Block a user