Dump *straight-process* buffer after straight errors
This commit is contained in:
parent
dc22815227
commit
4bd59f5ed9
1 changed files with 5 additions and 1 deletions
6
bin/doom
6
bin/doom
|
@ -99,7 +99,11 @@ with a different private module."
|
||||||
(if (cdr e)
|
(if (cdr e)
|
||||||
(dolist (item (cdr e))
|
(dolist (item (cdr e))
|
||||||
(print! "%S" item))
|
(print! "%S" item))
|
||||||
(print! "n/a"))))
|
(print! "n/a")))
|
||||||
|
(when (string-match-p (regexp-quote straight-process-buffer)
|
||||||
|
(error-message-string e))
|
||||||
|
(print! (bold "Straight output:"))
|
||||||
|
(print-group! (print! "%s" (straight--process-get-output)))))
|
||||||
(unless debug-on-error
|
(unless debug-on-error
|
||||||
(terpri)
|
(terpri)
|
||||||
(print!
|
(print!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue