add process response, and add error message to log