From 4bd59f5ed935d560b09d4173623446dff4878366 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 8 Jan 2020 22:07:03 -0500 Subject: [PATCH] Dump *straight-process* buffer after straight errors --- bin/doom | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index b28411199..8d23b15e3 100755 --- a/bin/doom +++ b/bin/doom @@ -99,7 +99,11 @@ with a different private module." (if (cdr e) (dolist (item (cdr e)) (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 (terpri) (print!