Log out error message if the result is not xml