added error message to sample.txt

updated the sample.txt