From f9c3d8dc97e0a5170a52e13bf65e0fec0753d301 Mon Sep 17 00:00:00 2001 From: Will Miao Date: Tue, 30 Jun 2026 19:42:30 +0800 Subject: [PATCH] fix(metadata): demote CivArchive hash lookup failure from ERROR to DEBUG A model not being found on CivArchive by hash is a routine case (the model simply isn't published there), not an error. The callers already log the outcome at WARNING (bulk_metadata_refresh) or DEBUG (metadata_sync_service) with full context, making this ERROR-level log both misleading and redundant. --- py/services/civarchive_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/services/civarchive_client.py b/py/services/civarchive_client.py index 9f063d08..cda488f9 100644 --- a/py/services/civarchive_client.py +++ b/py/services/civarchive_client.py @@ -327,7 +327,7 @@ class CivArchiveClient: if resolved: return resolved, None - logger.error("Error fetching version of CivArchive model by hash %s", model_hash[:10]) + logger.debug("Error fetching version of CivArchive model by hash %s", model_hash[:10]) return None, "No version data found" except RateLimitError: