Skip to content

Fitness error handle#1404

Open
Vinoryz wants to merge 2 commits intoabrignoni:mainfrom
Vinoryz:fitness-error-handle
Open

Fitness error handle#1404
Vinoryz wants to merge 2 commits intoabrignoni:mainfrom
Vinoryz:fitness-error-handle

Conversation

@Vinoryz
Copy link

@Vinoryz Vinoryz commented Dec 9, 2025

This pull request improves the robustness of the get_Health function in FitnessWorkoutsLocationData.py by enhancing the way required database tables are checked before analysis. The main change is that the function now checks for the existence of multiple required tables and logs any that are missing, instead of only checking for a single table.

Database validation improvements:

  • The function now verifies that all required tables (location_series_data, data_series, associations, workout_activities) exist in the healthdb_secure.sqlite database before proceeding, and logs any missing tables.
  • Removed the previous logic that only checked for the existence of the location_series_data table and logged a message if it was missing, making the validation process more comprehensive.

@amadheatrizza amadheatrizza deleted the fitness-error-handle branch December 9, 2025 10:28
@amadheatrizza amadheatrizza restored the fitness-error-handle branch December 9, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant