Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let sync op failures use stacktrace viewer #1645

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

sanjayl
Copy link
Contributor

@sanjayl sanjayl commented Mar 31, 2016

Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):

  • The commits are consistent with our contribution guidelines
  • You've added tests (if possible) to cover your change(s)
  • All tests are passing (make test)
  • The new code is not generating bytecode or M-x checkdoc warnings
  • You've updated the changelog (if adding/changing user-visible functionality)
  • You've updated the readme (if adding/changing user-visible functionality)
  • You've updated the refcard (if you made changes to the commands listed there)

Thanks!

This lets sync ops use the stacktrace viewer, just like how async ops
currently do. Requires some changes to the CIDER-nREPL code as well
which were submitted as CIDER-nREPL PR 327
clojure-emacs/cider-nrepl#327.

;; 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"))))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, why is this called pp-stacktrace?

@bbatsov
Copy link
Member

bbatsov commented Apr 1, 2016

One more thing - mention this in the changelog as well.

@sanjayl sanjayl force-pushed the sync-err-stacktrace-view branch from b96e675 to ab84481 Compare April 1, 2016 15:29
This lets sync ops use the stacktrace viewer, just like how async ops
currently do. Requires some changes to the CIDER-nREPL code as well
which were submitted as CIDER-nREPL PR 327
clojure-emacs/cider-nrepl#327.
@sanjayl sanjayl force-pushed the sync-err-stacktrace-view branch from ab84481 to 73a5d19 Compare April 1, 2016 15:31
@bbatsov bbatsov merged commit c8ce2a8 into clojure-emacs:master Apr 1, 2016
@bbatsov
Copy link
Member

bbatsov commented Apr 1, 2016

There's a byte-compilation issue with the PR, but I'll fix it myself. Thanks!

@sanjayl
Copy link
Contributor Author

sanjayl commented Apr 1, 2016

Oh shoot, sorry about that! Will double check next time

On Fri, Apr 1, 2016 at 3:08 PM, Bozhidar Batsov [email protected]
wrote:

There's a byte-compilation issue with the PR, but I'll fix it myself.
Thanks!


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1645 (comment)

@sanjayl sanjayl deleted the sync-err-stacktrace-view branch April 3, 2016 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants