From the course: OpenAI Codex 101: From Idea to Deployed App
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Debug and fix errors - OpenAI Codex Tutorial
From the course: OpenAI Codex 101: From Idea to Deployed App
Debug and fix errors
Your app is live and working, but what happens when a user enters a URL that looks valid but doesn't actually work? Navigate to Render and click on the link to your live app. Remember that on a free plan, Render shuts your app down when no one is using it, so it might take a few minutes for your app to come back up. Once your app is up and running, add a new site. For the site name, type test. For the URL, type https://thisisnotarealsite9999.com. The browser accepts it because the URL is formatted correctly. Save the new link. Notice your app doesn't crash or indicate this URL doesn't go to a real website. It saves the link and shows a card with not available for the title, description, and image. That's not an error message. It's a silent failure. The app accepted a broken link and nobody knows anything is wrong. Go to your render dashboard and open the Logs tab. Scroll through it. Notice, you won't find anything useful. The app handled the bad URL quietly. However, the scraping…