From 5b1d69428e34fdbaf2840f41a2c2b065a71c4836 Mon Sep 17 00:00:00 2001 From: cibere <71997063+cibere@users.noreply.github.com> Date: Thu, 9 Jan 2025 22:21:42 -0800 Subject: [PATCH] add debug cache is none, refreshing in lookup handler --- plugin/handlers/lookup_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/handlers/lookup_handler.py b/plugin/handlers/lookup_handler.py index 024a466..bb31103 100644 --- a/plugin/handlers/lookup_handler.py +++ b/plugin/handlers/lookup_handler.py @@ -36,6 +36,7 @@ async def callback(self, query: Query): return Result(msg, icon=library.icon) if library.cache is None: + log.info("Cache is `None`, refreshing") await self.plugin.refresh_library_cache(library) if library.cache is None: return Result(