Adding more descriptive error handling if public folder is missing