diff --git a/checker.py b/checker.py index c773cf5..8b140fd 100644 --- a/checker.py +++ b/checker.py @@ -286,6 +286,7 @@ if __name__ == "__main__": # Get initial state from Grist initial_sync_count = int(current_vm.Syncs or 0) + reboot_count = int(current_vm.Reboots or 0) # Determine previous status type based on Health string (simplified) previous_health_status = current_vm.Health or "Idle" previous_status_type = "Idle" # Default @@ -296,7 +297,7 @@ if __name__ == "__main__": elif previous_health_status.startswith("Error"): previous_status_type = "Error" # Consider error state - logger.info(f"Initial state from Grist - Syncs: {initial_sync_count}, Health: {previous_health_status} (interpreted as: {previous_status_type})") + logger.info(f"Initial state from Grist - Syncs: {initial_sync_count}, Health: {previous_health_status}, Reboots: {reboot_count}") for attempt in range(3): try: