From 49790fb53f5bb468aecbd3474c2bfb2b31dd4606 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 May 2020 05:31:33 -0400 Subject: [PATCH] Include the error when 'doom upgrade' fails --- core/cli/upgrade.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/cli/upgrade.el b/core/cli/upgrade.el index 14d3854ce..cf2a15bfb 100644 --- a/core/cli/upgrade.el +++ b/core/cli/upgrade.el @@ -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)))))