Skip to content

Commit

Permalink
Merge pull request #1645 from sanjayl/sync-err-stacktrace-view
Browse files Browse the repository at this point in the history
Let sync op failures use stacktrace viewer
  • Loading branch information
bbatsov committed Apr 1, 2016
2 parents a216e34 + 73a5d19 commit c8ce2a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Bugs fixed


* [#1420](https://github.com/clojure-emacs/cider/issues/1420): Show stacktrace buffers for sync requests errors.
* [cider-nrepl#329](https://github.com/clojure-emacs/cider-nrepl/pull/329): Fix error instrumenting functions that call clojure.tools.logging.
* [#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.
Expand Down
6 changes: 1 addition & 5 deletions nrepl-client.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit c8ce2a8

Please sign in to comment.