add back uncaught exception logging.