better HTTPError exception reporting