Include the error when 'doom upgrade' fails

This commit is contained in:
Henrik Lissner 2020-05-16 05:31:33 -04:00
parent 4f885ca176
commit 49790fb53f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -125,7 +125,8 @@ following shell commands:
doom-init-modules-p nil)
(doom-initialize))
(error
(signal 'doom-error (list "Could not upgrade Doom without issues"))))
(signal 'doom-error (list "Could not upgrade Doom without issues"
e))))
(print! (success "Finished upgrading Doom Emacs")))
t)))))