Skip to content

Commit

Permalink
Merge pull request #151 from gerdint/master
Browse files Browse the repository at this point in the history
Make use of Clojure 1.12 functional interface support
  • Loading branch information
yogthos authored Oct 18, 2024
2 parents d4e55f0 + 3d3159d commit 33a7b42
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@

;; log uncaught exceptions in threads
(Thread/setDefaultUncaughtExceptionHandler
(reify Thread$UncaughtExceptionHandler
(uncaughtException [_ thread ex]
(fn [thread ex]
(log/error {:what :uncaught-exception
:exception ex
:where (str "Uncaught exception on" (.getName thread))}))))
:where (str "Uncaught exception on" (.getName thread))})))

(defonce system (atom nil))

Expand Down

0 comments on commit 33a7b42

Please sign in to comment.