mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-06-19 00:01:01 +00:00
auto-commit for d7b257a2-78ec-4d11-b795-ba591ba3d701
This commit is contained in:
@@ -363,6 +363,9 @@ async def get_user_profile(user_id: str):
|
||||
|
||||
return user_data.data[0]
|
||||
|
||||
except HTTPException:
|
||||
# Re-raise HTTP exceptions as-is
|
||||
raise
|
||||
except Exception as e:
|
||||
logger.error(f"Error fetching user profile: {e}")
|
||||
raise HTTPException(status_code=500, detail=str(e))
|
||||
|
||||
Reference in New Issue
Block a user