Skip to content

Mark the error-handling entry done in potential_improvements.md - #479

Open
KillerX wants to merge 1 commit into
masterfrom
docs/error-conventions-ledger
Open

Mark the error-handling entry done in potential_improvements.md#479
KillerX wants to merge 1 commit into
masterfrom
docs/error-conventions-ledger

Conversation

@KillerX

@KillerX KillerX commented Aug 19, 2026

Copy link
Copy Markdown
Member

#478 landed the code without updating potential_improvements.md, which is exactly the "good inbox, poor ledger" failure the file already has. This records what was done (merry removed, %w everywhere there is a cause, errors.Join, the logger call shape, the convention written into CLAUDE.md), what stayed (merry as an indirect dependency of bcc-media-platform; zero string-matched error comparisons), and the one part deliberately skipped (the ~50 argument-less fmt.Errorf calls that could be errors.New — no linter flags them and the rewrite changes no behaviour).

Also drops the for _, err = range service.errs line from Awkward constructs: vx_export_vod.go uses errors.Join on master already.

Docs only — no code changes.

🤖 Generated with Claude Code

#478 landed the code without updating the ledger, which is the failure
mode this file already has. Records what was done, what stayed
(merry as an indirect dependency, the zero string-matched comparisons),
and the one part deliberately skipped.

Also drops the vx_export_vod errs loop from Awkward constructs — it is
errors.Join on master already.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant