diff --git a/CHANGELOG.md b/CHANGELOG.md index 156e1e70e..968b5aa53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Bugs fixed +* [#1420](https://github.com/clojure-emacs/cider/issues/1420): Show stacktrace buffers for sync requests errors. * [#1632](https://github.com/clojure-emacs/cider/pull/1632): Redefining a function correctly updates eldoc. * [#1630](https://github.com/clojure-emacs/cider/pull/1630): The debugger no longer gets confused inside `@` redefs. * [#1599](https://github.com/clojure-emacs/cider/pull/1599): Don't error when test makes 0 assertions. diff --git a/nrepl-client.el b/nrepl-client.el index 1952bb3b5..c6b493676 100644 --- a/nrepl-client.el +++ b/nrepl-client.el @@ -968,11 +968,7 @@ sign of user input, so as not to hang the interface." ;; so we have to handle them differently until this is resolved (if (member "eval-error" status) (funcall nrepl-err-handler) - ;; dump the stacktrace in the REPL - ;; TODO: This has to be replaced with rendering of the - ;; standard stacktrace buffer - (cider-repl-emit-interactive-stderr err) - (switch-to-buffer-other-window connection))) + (cider--render-stacktrace-causes (nrepl-dict-get response "pp-stacktrace")))) (when-let ((id (nrepl-dict-get response "id"))) (with-current-buffer connection (nrepl--mark-id-completed id)))