This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-30
Channels
- # announcements (4)
- # babashka (8)
- # beginners (124)
- # calva (13)
- # cider (10)
- # circleci (6)
- # clj-kondo (193)
- # cljdoc (1)
- # cljs-dev (4)
- # clojure (50)
- # clojure-europe (28)
- # clojure-serbia (1)
- # clojure-spec (22)
- # clojure-uk (30)
- # clojurescript (11)
- # clojureverse-ops (3)
- # community-development (1)
- # conjure (5)
- # cursive (1)
- # datomic (11)
- # depstar (1)
- # events (2)
- # fulcro (7)
- # graalvm (2)
- # graphql (10)
- # helix (43)
- # hyperfiddle (14)
- # introduce-yourself (6)
- # jobs (2)
- # jobs-discuss (14)
- # kaocha (4)
- # luminus (2)
- # malli (24)
- # meander (6)
- # off-topic (4)
- # pathom (1)
- # polylith (13)
- # re-frame (6)
- # releases (1)
- # remote-jobs (1)
- # sci (14)
- # shadow-cljs (209)
- # tools-deps (30)
- # xtdb (26)
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!