@@ -482,8 +482,10 @@ op/situation that originated this error."
482
482
If RESPONSE contains a cause, cons it onto CAUSES and return that. If
483
483
RESPONSE is the final message (i.e. it contains a status), render CAUSES
484
484
into a new error buffer."
485
- (nrepl-dbind-response response (class status)
486
- (cond (class (cons response causes))
485
+ (nrepl-dbind-response response (class msg status type)
486
+ (cond ((and (member " notification" status) causes)
487
+ (nrepl-notify msg type))
488
+ (class (cons response causes))
487
489
(status (cider--render-stacktrace-causes causes)))))
488
490
489
491
(defun cider-default-err-op-handler ()
@@ -493,7 +495,7 @@ into a new error buffer."
493
495
(cider-nrepl-send-request
494
496
(thread-last
495
497
(map-merge 'list
496
- '((" op" " stacktrace" ))
498
+ '((" op" " analyze-last- stacktrace" ))
497
499
(cider--nrepl-print-request-map fill-column))
498
500
(seq-mapcat #'identity ))
499
501
(lambda (response )
@@ -505,8 +507,10 @@ into a new error buffer."
505
507
(defun cider-default-err-handler ()
506
508
" This function determines how the error buffer is shown.
507
509
It delegates the actual error content to the eval or op handler."
508
- (cond ((cider-nrepl-op-supported-p " stacktrace" ) (cider-default-err-op-handler))
509
- ((cider-library-present-p " clojure.stacktrace" ) (cider-default-err-eval-handler))
510
+ (cond ((cider-nrepl-op-supported-p " analyze-last-stacktrace" )
511
+ (cider-default-err-op-handler))
512
+ ((cider-library-present-p " clojure.stacktrace" )
513
+ (cider-default-err-eval-handler))
510
514
(t (cider-default-err-eval-print-handler))))
511
515
512
516
0 commit comments