summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 09:54:44 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 09:54:44 +0300
commit32a3fe61700884d7378858ba21a809c31a9fc5eb (patch)
treeafafa6791f1d76635f3f322ea1a2664beb7e6d70 /internal
parent54afec7ab8fc2d23d0aa8e4469536a683779620f (diff)
replace panic with os.Exit and error log in cmd/filewriter
Panics in non-setup code violate the AGENTS.md convention. Replace all three panic(err) calls with fmt.Fprintf(os.Stderr, ...) + os.Exit(1) so the process exits cleanly with a human-readable message instead of a stack trace. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions