Skip to content

Instantly share code, notes, and snippets.

@magnars
Created March 1, 2017 09:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magnars/f15a6586cc0101733e7efb4289e62683 to your computer and use it in GitHub Desktop.
Save magnars/f15a6586cc0101733e7efb4289e62683 to your computer and use it in GitHub Desktop.
(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