identify the error before publishing the webpage to customer is called