Improve general error handling at startup
This will hopefully reveal more information as to the cause and origin of errors at startup. It should also make doom-debug-mode more likely to produce a backtrace in non-interactive sessions.
This commit is contained in:
parent
c8aba6f552
commit
ab07e07352
6 changed files with 87 additions and 68 deletions
|
@ -251,5 +251,5 @@ init.el and config.el. Then runs `doom-reload-hook'."
|
|||
(with-demoted-errors "PRIVATE CONFIG ERROR: %s"
|
||||
(doom-initialize-modules 'force))
|
||||
(print! (green "%d packages reloaded" (length package-alist)))
|
||||
(run-hooks 'doom-reload-hook)
|
||||
(run-hook-wrapped 'doom-reload-hook #'doom-try-run-hook)
|
||||
t))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue