Handling error of opening LiDAR in a new way.