feat: handle Garmin MFA and activity retries
This commit is contained in:
@@ -254,6 +254,11 @@ class SyncManager:
|
||||
|
||||
session.commit()
|
||||
|
||||
if not stop_user_run:
|
||||
user.action_reason = None
|
||||
user.health_state = HealthState.DEGRADED if failed_count > 0 else HealthState.HEALTHY
|
||||
session.commit()
|
||||
|
||||
status = (
|
||||
SyncRunStatus.SUCCESS
|
||||
if failed_count == 0 and not stop_user_run
|
||||
|
||||
Reference in New Issue
Block a user