fix: raise HTTPException in recalculate_standings on failure (#23) #41
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ai/major-domo-database-23"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
raisekeyword beforeHTTPException(status_code=500, ...)inrecalculate_standings(line 124)raise, the exception was constructed but immediately discarded, causing the endpoint to always return 200 regardless of whether recalculation succeededChange
File:
app/routers_v3/standings.pyThis is a one-word change. No reformatting, no quote changes, no other modifications.
Test plan
Standings.recalculate(season)returns code 69Note: The previous PR (#40) for this issue was rejected because the linter reformatted the entire file. This PR contains only the single word fix.
Generated with Claude Code
6d479bc2b0to4b288c1e67