This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-19
Channels
- # aws-lambda (1)
- # bangalore-clj (4)
- # beginners (66)
- # boot (13)
- # cider (9)
- # cljs-dev (44)
- # cljsjs (3)
- # clojure (181)
- # clojure-austin (2)
- # clojure-greece (6)
- # clojure-italy (2)
- # clojure-russia (64)
- # clojure-sg (1)
- # clojure-spec (68)
- # clojure-uk (60)
- # clojurescript (66)
- # conf-proposals (12)
- # cryogen (1)
- # cursive (3)
- # datomic (44)
- # graphql (1)
- # hoplon (2)
- # jobs (2)
- # jobs-discuss (3)
- # keechma (2)
- # liberator (6)
- # luminus (2)
- # nyc (1)
- # off-topic (92)
- # om (10)
- # onyx (17)
- # parinfer (39)
- # pedestal (8)
- # proton (11)
- # re-frame (110)
- # reagent (2)
- # remote-jobs (11)
- # ring-swagger (9)
- # rum (2)
- # sql (2)
- # test-check (6)
- # untangled (138)
hi, i asked this a while ago, and got into somethign else and was never able to try it. I was trying to figure out the best way to debug my workflows, etc. I beleive someone posted something some sort of “spy” key you could put on a catalog entry. I think it pointed to a user function that would get a look at the segments. But I don’t see it in the documentatoin
@eoliphant I think they were referring to sticking a spy onyx/fn on your input tasks
the spy fn would just be
(defn myspy [segment] (println segment) segment))
ah nice
So, I'm getting a "clojure.lang.ExceptionInfo: Unfreezable type: class clojure.lang.ExceptionInfo" error. One of my tasks is throwing an exception, and Onyx appears to be having trouble passing the exception on to the next task, so it then throws this unfreezable type exception. Is that a thing?
@stephenmhopper Exceptions can’t be passed between tasks.
You can use a flow condition handler to turn it into something serializable and pass it downstream.
ah, okay. Can I just use clojure.core/Throwable->map
?
What do you typically use?
@stephenmhopper I’ve usually taken apart the map myself with ex-data, but that should work
I just learned about that function recently. 🙂
@michaeldrogalis okay, thank you!
Anytime!