Packages api: simpler error handling
This commit is contained in:
parent
a29bc54c63
commit
f3bad40fdf
1 changed files with 2 additions and 6 deletions
|
@ -235,14 +235,10 @@ Used by `doom//packages-install'."
|
|||
(quiet! (doom-refresh-packages t))
|
||||
,@body))
|
||||
('user-error
|
||||
(message! (bold (red " ERROR: (%s) %s"
|
||||
(car ex)
|
||||
(error-message-string ex)))))
|
||||
(message! (bold (red " ERROR: %s" ex))))
|
||||
('error
|
||||
(doom-refresh-clear-cache)
|
||||
(message! (bold (red " FATAL ERROR: (%s) %s"
|
||||
(car ex)
|
||||
(error-message-string ex)))))))
|
||||
(message! (bold (red " FATAL ERROR: %s" ex))))))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue