From 7205bf075418dea604dc02ef06f0cc4989afb4f5 Mon Sep 17 00:00:00 2001 From: cl0ete Date: Mon, 27 Nov 2023 11:23:24 +0200 Subject: [PATCH] more logging in base resolver --- aries_cloudagent/resolver/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aries_cloudagent/resolver/base.py b/aries_cloudagent/resolver/base.py index 8b65970c68..caa3d59af0 100644 --- a/aries_cloudagent/resolver/base.py +++ b/aries_cloudagent/resolver/base.py @@ -163,8 +163,10 @@ async def resolve( if cache: async with cache.acquire(cache_key) as entry: if entry.result: + LOGGER.warning(f"CACHE has result {entry.result}") return entry.result else: + LOGGER.warning(f"GOING to ELSE") result = await self._resolve(profile, did, service_accept) await entry.set_result(result, ttl=self.DEFAULT_TTL) return result