sci 2025-09-15

does anyone have an example of printing SCI traces using clj-commons.format.exceptions? print-exception is easy enough to use, but :sci/stacktrace isn't in the format it expects and i'm having trouble converting it

i tried doing something like this:

(exc/format-exception* [{:message "hiii", :stack-trace (exc/format-stack-frame {:name "" :file "x.clj" :line 34 :names ["" "def"] :is-clojure? true})}] {})
but it gets real mad and prints "key must be integer" without any more info

ok i gave up on format.exceptions and used format.ansi directly and it works great

👍 1