This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-29
Channels
- # announcements (1)
- # aws (4)
- # beginners (45)
- # biff (4)
- # calva (13)
- # clojure (38)
- # clojure-europe (2)
- # clojure-nl (1)
- # clojure-norway (2)
- # clojure-sweden (8)
- # clojurescript (9)
- # conjure (1)
- # core-async (4)
- # fulcro (5)
- # graalvm (6)
- # gratitude (3)
- # hyperfiddle (10)
- # off-topic (40)
- # pathom (4)
- # portal (23)
- # releases (1)
- # xtdb (5)
(a/<!! (a/map vector [(a/thread 1) (a/thread 2)])) ;;=> [1 2]
(a/<!! (a/map vector [(a/thread 1) (a/thread nil)])) ;;=> nil (silent failure?)
I have a Thread/setDefaultUncaughtExceptionHandler
set to print uncaught exceptions but nothing is printed when the failure occurs. Is this related to the "nil on channel" being an assertion error that isn't handled by the UncaughtExceptionHandler
? Is there a way to somehow recognize or catch the error from a thread
returning nil?