improve error message to print the tag
Closes #9001

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Merge pull request #9102 from brahmaroutu/add_tag_9001

improve error message to print the tag