Handle if the copied text isn't a string.