Handle HTTP_Exception errors better