From 393981e0ba27a0cd63aa66fb479292f2bccb23df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?fr=C3=A9d=C3=A9ric?= Date: Mon, 17 Feb 2025 11:01:16 +0100 Subject: [PATCH] Remove debgging mesasge in cache --- pwnagotchi/plugins/default/cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/plugins/default/cache.py b/pwnagotchi/plugins/default/cache.py index 64c8f566..f3b826ed 100644 --- a/pwnagotchi/plugins/default/cache.py +++ b/pwnagotchi/plugins/default/cache.py @@ -70,8 +70,8 @@ class Cache(plugins.Plugin): for cache_file in cache_to_delete: try: cache_file.unlink() - except Exception as e: - logging.error(f"[CACHE] Cannot delete {cache_file}: {e}") + except FileNotFoundError as e: + pass def write_ap_cache(self, access_point): with self.lock: