add exception log.