handled http.get errors