Got rid of logging of URL and added response to error object