debug logging of request data when RequestException is raised