catch exceptions when response object is instantiated. Log the error.