Skip to content

Commit

Permalink
more logging in base resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Nov 27, 2023
1 parent 87e04ad commit 7205bf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aries_cloudagent/resolver/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7205bf0

Please sign in to comment.