handle exception from failed web service call