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:
parent
666cc1fda7
commit
2660fcce25
1 changed files with 1 additions and 2 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue