-
-
Notifications
You must be signed in to change notification settings - Fork 649
Exception data is not pretty printed anymore #3804
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
Comments
@alexander-yakushev Would you mind taking a look? |
Hi, this is intentional as of #3790. Instead of pretty-printing the stacktrace, it is expected that the user clicks the exception to open it (together with its data) in the inspector. We're still lacking a good way to hint the user this is possible – that's what needs to be fixed indeed. |
@alexander-yakushev how should I click to open the inspector? I tried with mouse and I tried using RET key, but nothing happens. In the echo area I see the message |
Indeed, it works, thanks! For the record, it's bound to Not sure if I should close this issue. |
Probably we should insert some button after it or under it. |
Let's keep it open for now, as admittedly the UI is confusing right now and we'll need to improve it a bit, before cutting the next CIDER release. |
Can be closed now as addressed by #3807. |
Thank you @alexander-yakushev! |
Expected behavior
Exception data is pretty printed in
*cider-error*
buffer. Example from CIDER 1.17.1:Actual behavior
Exception data is printed in one line and truncated. Example from CIDER 1 .18-SNAPSHOT:
the data is truncated and there is no way to see the full map:
Steps to reproduce the problem
Evaluate a for that throws an exception with a big ex-data map. For example:
Environment & Version information
CIDER version information
Lein / Clojure CLI version
Clojure CLI 1.12
Emacs version
GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3.2 (Build 24D81)) of 2025-04-03
Operating system
MacOS
The text was updated successfully, but these errors were encountered: