Log error response if available.