mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
fix(cli): not printing straight log after it errors
This regression was introduced in6c0b7e1
, preventing the debugger from printing straight.el's process log when a straight.el error occurs. Instead, it would print a less-than-helpful backtrace. Amend:6c0b7e1530
This commit is contained in:
@@ -899,8 +899,7 @@ considered as well."
|
|||||||
(context (or context (doom-cli-context-create)))
|
(context (or context (doom-cli-context-create)))
|
||||||
(straight-error
|
(straight-error
|
||||||
(and (bound-and-true-p straight-process-buffer)
|
(and (bound-and-true-p straight-process-buffer)
|
||||||
(stringp data)
|
(member straight-process-buffer data)
|
||||||
(string-match-p (regexp-quote straight-process-buffer) data)
|
|
||||||
(with-current-buffer (straight--process-buffer)
|
(with-current-buffer (straight--process-buffer)
|
||||||
(split-string (buffer-string) "\n" t))))
|
(split-string (buffer-string) "\n" t))))
|
||||||
(error-file (doom-cli--output-file 'error context)))
|
(error-file (doom-cli--output-file 'error context)))
|
||||||
|
Reference in New Issue
Block a user