Skip to content

Commit 66e9601

Browse files
committed
lint
1 parent b0410ad commit 66e9601

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/app/routes/ranking.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ async def get_ranking_preferences(
159159
)
160160

161161
return result
162+
except HTTPException:
163+
raise
164+
except Exception as e:
165+
raise HTTPException(status_code=500, detail=str(e))
166+
167+
162168
@router.get("/admin/options", response_model=RankingOptionsResponse)
163169
async def get_ranking_options_admin(
164170
user_id: str = Query(..., description="User ID (UUID) to fetch options for"),

0 commit comments

Comments
 (0)