nextjournal / clerk

⚡️ Moldable Live Programming for Clojure
https://clerk.vision
ISC License
1.74k stars 75 forks source link

Ensure ex-data is always presentable #617

Closed zampino closed 5 months ago

zampino commented 5 months ago

Ensure exceptions with ex-data are always inspectable.

Fixes #622. Fixes #616. Better fix for #586 than #587.

Screenshot 2024-01-22 at 18 12 10
zampino commented 5 months ago

Since it's not wrapped in a result viewer, the notebook exception view can't resolve elisions in the ex-data now (before, we'd just print all the data with the inspect-wrapped-values trick. I'll see if I can resolve that easily

Screenshot 2024-01-22 at 18 24 38
zampino commented 5 months ago

Found another case that needs to be handled, ex-infos with data and without a cause.