fix: prevent partial DB writes on scorecard submission failure #80

Merged
cal merged 1 commits from fix/scorecard-submission-resilience-v2 into next-release 2026-03-11 16:27:29 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
461112b2f8 fix: prevent partial DB writes and show detailed errors on scorecard submission failure
Read all spreadsheet data (plays, box score, pitching decisions) before any
database writes so formula errors like #N/A don't leave the DB in a partial
state. Also preserve SheetsException detail through the error chain and show
users the specific cell/error instead of a generic failure message.

Closes #78

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:55:10 -05:00