handle exception in weather provider