try/except — catching what AI didn't — step 6 of 9
Claude shipped this and it "worked" for weeks before someone noticed the
function was hiding a typo. The bare except: swallows everything,
including the real bug. Replace the bare except: with one that catches
only ValueError. The output should be fallback.
The break is on line 4 — but read the whole snippet first.
⌘↵ runs the editor.read, then continue.
Claude shipped this and it "worked" for weeks before someone noticed the
function was hiding a typo. The bare except: swallows everything,
including the real bug. Replace the bare except: with one that catches
only ValueError. The output should be fallback.
The break is on line 4 — but read the whole snippet first.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.