Use the set_message method to display the error and not set_text()