mirror of
https://github.com/sstent/AICyclingCoach.git
synced 2026-01-25 16:41:58 +00:00
sync - still working on the TUI
This commit is contained in:
@@ -47,7 +47,10 @@ class WorkoutService:
|
||||
]
|
||||
|
||||
except Exception as e:
|
||||
raise Exception(f"Error fetching workouts: {str(e)}")
|
||||
# Log error properly
|
||||
import logging
|
||||
logging.error(f"Error fetching workouts: {str(e)}")
|
||||
return []
|
||||
|
||||
async def get_workout(self, workout_id: int) -> Optional[Dict]:
|
||||
"""Get a specific workout by ID."""
|
||||
|
||||
Reference in New Issue
Block a user