Skip to content

Instantly share code, notes, and snippets.

@magnars
Created Mar 1, 2017
Embed
What would you like to do?
(Thread/setDefaultUncaughtExceptionHandler
(reify Thread$UncaughtExceptionHandler
(uncaughtException [_ thread ex]
(log/error ex "Uncaught exception on" (.getName thread)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment