Fork me on GitHub

is there a way to make kaocha report the ex-data of exceptions? I have a few failures on function specs, but the output is not very helpful:

ERROR in xxx/yyy (alpha.clj:132)
Exception: clojure.lang.ExceptionInfo: Call to #'zzz/sss did not conform to spec.


(I replaced the actual names)


I am wondering if there is any way to wrap all methods of a protocol? In the end I might not do this as I wanted to add timing metrics, and it didn't sound very fast! But even so I'm curious about whether it's possible to reflect on a protocol, and map over it's methods as if they were a sequence of functions, and wrap them all with logging say?


Ooops - I've been looking for this message - wrong channel!