Almost rightLesson 061 min
The error is caught, and then nothing happens
This function turns text into an age, and the code catches the error raised for a word like "forty" and then does nothing. No message, no log, and the function quietly returns no value. Much later another line does arithmetic with the missing value and crashes far from the cause. This is called swallowing an exception. The fix is to catch only the expected error and say what went wrong.
Remember
A hidden error is a bug you will meet later, with less information.
