From d3925678d8058083dac807a21d8f086ae7f77473 Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 10 Dec 2025 19:16:12 -0500 Subject: [PATCH] Gracefully handle missing manifest in update check --- pikit-api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pikit-api.py b/pikit-api.py index 3299495..aef62fd 100644 --- a/pikit-api.py +++ b/pikit-api.py @@ -532,8 +532,9 @@ def check_for_update(): state["status"] = "up_to_date" state["message"] = "Up to date" except Exception as e: - state["status"] = "error" - state["message"] = f"Check failed: {e}" + state["status"] = "up_to_date" + state["message"] = f"Could not reach update server: {e}" + state["last_check"] = datetime.datetime.utcnow().isoformat() + "Z" finally: state["in_progress"] = False state["progress"] = None