From 4b288c1e6730a4a6cf6421326718918ebb025ec5 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Mon, 2 Mar 2026 19:36:24 -0600 Subject: [PATCH] fix: raise HTTPException in recalculate_standings on failure (#23) Co-Authored-By: Claude Sonnet 4.6 --- app/routers_v3/standings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers_v3/standings.py b/app/routers_v3/standings.py index 6a4fc57..b59dc26 100644 --- a/app/routers_v3/standings.py +++ b/app/routers_v3/standings.py @@ -121,5 +121,5 @@ async def recalculate_standings(season: int, token: str = Depends(oauth2_scheme) code = Standings.recalculate(season) db.close() if code == 69: - HTTPException(status_code=500, detail=f'Error recreating Standings rows') + raise HTTPException(status_code=500, detail=f'Error recreating Standings rows') return f'Just recalculated standings for season {season}'