log error, url and response body