sync - still working on the TUI

This commit is contained in:
2025-09-26 10:19:56 -07:00
parent 6c7e49d093
commit 72b5cc3aaa
6 changed files with 124 additions and 105 deletions

View File

@@ -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."""