Log all uncaught exceptions