Add more exception logging.