Skip to content

Error not conveyed when using cider-pprint-eval-last-sexp #3553

@danielneal

Description

@danielneal

Expected behavior

When an expression is evaluated using C-c C-p (cider-pprint-eval-last-sexp), the user should be alerted that there is an error, either via an overlay or an error buffer.

Actual behavior

The *cider-result* buffer is shown, but it's empty. The error is printed to the REPL.

Steps to reproduce the problem

Evaluate an expression that has an error e.g. (let [x]) using C-c C-p

Environment & Version information

CIDER version information

CIDER 1.8.4-snapshot (package: 1.8.3), nREPL 1.0.0
Clojure 1.11.1, Java 11.0.13

Lein / Clojure CLI version

Clojure CLI version 1.11.1.1413

Emacs version

29.1

Operating system

Mac OS Ventura 13.5.2

JDK distribution

openjdk version "11.0.13" 2021-10-19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions