Created
March 1, 2017 09:29
-
-
Save magnars/f15a6586cc0101733e7efb4289e62683 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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