mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Fix type error when printing straight errors
This commit is contained in:
@ -260,8 +260,9 @@ BODY will be run when this dispatcher is called."
|
|||||||
(string-match-p (regexp-quote straight-process-buffer)
|
(string-match-p (regexp-quote straight-process-buffer)
|
||||||
data))
|
data))
|
||||||
(print! (error "There was an unexpected package error"))
|
(print! (error "There was an unexpected package error"))
|
||||||
(print-group!
|
(when-let (output (straight--process-get-output))
|
||||||
(print! "%s" (string-trim-right (straight--process-get-output)))))
|
(print-group!
|
||||||
|
(print! "%s" (string-trim-right output)))))
|
||||||
((print! (error "There was an unexpected error"))
|
((print! (error "There was an unexpected error"))
|
||||||
(print-group!
|
(print-group!
|
||||||
(print! "%s %s" (bold "Message:") (get type 'error-message))
|
(print! "%s %s" (bold "Message:") (get type 'error-message))
|
||||||
|
Reference in New Issue
Block a user