Skip to content

Instantly share code, notes, and snippets.

@lsgrep
Created May 28, 2015 08:19
Show Gist options
  • Save lsgrep/4295dd9b9f1d9b93eba1 to your computer and use it in GitHub Desktop.
Save lsgrep/4295dd9b9f1d9b93eba1 to your computer and use it in GitHub Desktop.
(Thread/setDefaultUncaughtExceptionHandler
(reify Thread$UncaughtExceptionHandler
(uncaughtException [_ thread ex]
(track-error :thread-exception ex "Uncaught exception on" (.getName thread)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment