Prettier output. Handle http request error.