code validation error console not displayed in ui