Hide error log on home page when there is no error