Fix error cascade in doom--condition-case!

This commit is contained in:
Henrik Lissner 2017-05-26 10:56:55 +02:00
parent 009d7c9d49
commit 2cd0818801

View file

@ -173,7 +173,8 @@ Used by `doom/packages-install'."
(condition-case ex2
(progn ,@body)
('file-error
(message! (bold (red " Couldn't find %s\n Trying again..." (cdr ex))))
(message! (bold (red " FILE ERROR: %s" ex2)))
(message! " Trying again...")
(doom-refresh-packages)
,@body))
('user-error