Skip to content

Commit

Permalink
De-noise configuration error printing
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed May 23, 2024
1 parent 159f891 commit f0c6f77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -2130,15 +2130,16 @@ symbol `dape-connection'."
;; error prints
(unless (dape--initialized-p conn)
(dape--repl-message
(concat "Adapter "
(concat "* Adapter "
(when (dape--parent conn)
"child ")
"connection shutdown without successfully initializing")
"connection shutdown without successfully initializing *")
'dape-repl-error-face)
;; barf config
(dape--repl-message
(format "Configuration:\n%s"
(cl-loop for (key value) on (dape--config conn) by 'cddr
unless (eq key '(ensure modes))
concat (format " %s %S\n" key value)))
'dape-repl-error-face)
;; barf connection stdout
Expand Down

0 comments on commit f0c6f77

Please sign in to comment.