Skip to content

Commit

Permalink
Ensure that error ends with new line
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Dec 7, 2024
1 parent 55ac9df commit 49586dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -2655,7 +2655,7 @@ CONN is inferred by either last stopped or last created connection."
(error
(if (string-empty-p error)
(dape--warn "Failed to evaluate %S" (substring-no-properties expression))
(dape--repl-insert-error error)))
(dape--repl-insert-error (concat (string-trim-right error) "\n"))))
((and (get-buffer "*dape-repl*")
(numberp variablesReference)
(not (zerop variablesReference)))
Expand Down

0 comments on commit 49586dd

Please sign in to comment.