#6006: Adding the error message
Merge pull request #6045 from dotCMS/issue-6006-fix-error-message

#6006: Adding the error message