From f588c2e13b5be70364d59cb4a2dde4c10511843d Mon Sep 17 00:00:00 2001 From: Shreecharana24 Date: Mon, 2 Feb 2026 16:46:30 +0530 Subject: [PATCH] Downgrade misleading cache deserialization warning to debug --- cachecontrol/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cachecontrol/controller.py b/cachecontrol/controller.py index b993570..733684f 100644 --- a/cachecontrol/controller.py +++ b/cachecontrol/controller.py @@ -163,7 +163,7 @@ def _load_from_cache(self, request: PreparedRequest) -> HTTPResponse | None: result = self.serializer.loads(request, cache_data, body_file) if result is None: - logger.warning("Cache entry deserialization failed, entry ignored") + logger.debug("Cache entry deserialization failed, entry ignored") return result def cached_request(self, request: PreparedRequest) -> HTTPResponse | Literal[False]: