« * K @jamesabel.bsky.social

James Abel @jamesabel.bsky.social

2026-07-22 00:18 UTC

add to ~/.claude/CLAUDE.md: - NEVER use `except Exception` or bare `except:` in Python code. Always catch the specific exception types the guarded code can actually raise (e.g. `except (OSError, ValueError) as e:`). Enumerate the plausible failures instead of catching everything

A reply in a thread.

0 likes, 0 reposts, 0 replies

3 Next post4 More from @jamesabel.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup