Errors and logs that leak
Lesson 16 of 27 · Secrets, crypto and data handling · 2 min Get the course to watchTidepool's ownership check calls the database. One day the database is down for a minute. The assistant wrote a helpful safety net around that call, so the app never crashes. During that minute, it also says yes to every request.
The rest of this lesson
- Fail open fail closed
- Review the except blocks
- What the client sees
- An error id bridges the gap
- Logs are a data store
- Log events not payloads
- What to keep
The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Secure the code AI writes.