Skip to content

Commit

Permalink
add debug cache is none, refreshing in lookup handler
Browse files Browse the repository at this point in the history
  • Loading branch information
cibere committed Jan 10, 2025
1 parent e1391c5 commit 5b1d694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/handlers/lookup_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5b1d694

Please sign in to comment.