We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0410ad commit 66e9601Copy full SHA for 66e9601
backend/app/routes/ranking.py
@@ -159,6 +159,12 @@ async def get_ranking_preferences(
159
)
160
161
return result
162
+ except HTTPException:
163
+ raise
164
+ except Exception as e:
165
+ raise HTTPException(status_code=500, detail=str(e))
166
+
167
168
@router.get("/admin/options", response_model=RankingOptionsResponse)
169
async def get_ranking_options_admin(
170
user_id: str = Query(..., description="User ID (UUID) to fetch options for"),
0 commit comments