Minor readability improvement while handling HTTP errors.