Bump :core
Fuco1/smartparens@63695c6 -> Fuco1/smartparens@25f4d6d bbatsov/projectile@1528ed4 -> bbatsov/projectile@513228f domtronn/all-the-icons.el@a8c8417 -> domtronn/all-the-icons.el@7a12258 emacs-straight/so-long@a5d445d -> emacs-straight/so-long@1da43ed jscheid/dtrt-indent@37529fc -> jscheid/dtrt-indent@9714f2c justbur/emacs-which-key@c632dbf -> justbur/emacs-which-key@5fb3030 raxod502/straight.el@0f9b828 -> raxod502/straight.el@253d7db Fixes #4947 (needed raxod502/straight.el@0831f6b) Also includes fixes due to straight changing its logging API.
This commit is contained in:
parent
259cf83ef1
commit
f60f576048
4 changed files with 84 additions and 53 deletions
|
@ -10,10 +10,18 @@
|
|||
(stringp data)
|
||||
(string-match-p (regexp-quote straight-process-buffer)
|
||||
data)
|
||||
(straight--process-get-output))))
|
||||
(with-current-buffer (straight--process-buffer)
|
||||
(split-string (buffer-string) "\n" t)))))
|
||||
(cond (straight-error
|
||||
(print! (error "The package manager threw an error"))
|
||||
(print-group! (print! "%s" (string-trim straight-error))))
|
||||
(print! (error "Last 25 lines of straight's error log:"))
|
||||
(print-group!
|
||||
(print!
|
||||
"%s" (string-join
|
||||
(seq-subseq straight-error
|
||||
(max 0 (- (length straight-error) 25))
|
||||
(length straight-error))
|
||||
"\n"))))
|
||||
((print! (error "There was an unexpected error"))
|
||||
(print-group!
|
||||
(print! "%s %s" (bold "Message:") (get type 'error-message))
|
||||
|
@ -37,7 +45,7 @@
|
|||
(print-level nil)
|
||||
(print-circle nil))
|
||||
(when straight-error
|
||||
(print (string-trim straight-error)))
|
||||
(print (string-join straight-error "\n")))
|
||||
(mapc #'print (cons (list type data) backtrace)))
|
||||
(print! (warn "Extended backtrace logged to %s")
|
||||
(relpath doom-cli-log-error-file)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue