handle exception when getting feature collections