forked from clojure-emacs/cider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let sync-call errors use the stacktrace buffer
Sync-call errors do not bind *e unlike eval-call errors. This made it impossible to use the stacktrace middleware to create the nicely analyzed and formatted stacktrace buffer (see Issue clojure-emacs#1420 clojure-emacs#1420). In order to rectify this, the nREPL code was modified slightly to store sync-call related errors and provide a mechanism for the stacktrace middleware to retrieve and process these stored exceptions. This results in the ability for sync-call related errors to be analyzed and presented using the standard stacktract buffer.
- Loading branch information
Showing
2 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters