From f8ee569d812f30f98da450deee5cf5eb0b55272e Mon Sep 17 00:00:00 2001 From: lollerfirst Date: Tue, 15 Oct 2024 16:48:19 +0200 Subject: [PATCH] fix format string + log when a cached response is found --- cashu/mint/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cashu/mint/cache.py b/cashu/mint/cache.py index 9267ac6b..a27a420e 100644 --- a/cashu/mint/cache.py +++ b/cashu/mint/cache.py @@ -27,7 +27,7 @@ def cache(self, expire): def passthrough(func): @functools.wraps(func) async def wrapper(*args, **kwargs): - logger.debug("cache wrapper on route {func.__name__}") + logger.debug(f"cache wrapper on route {func.__name__}") result = await func(*args, **kwargs) return result return wrapper