Tweak logging

This commit is contained in:
Thomas Sileo 2022-07-15 13:05:08 +02:00
parent 6fe51ecff2
commit 12f09743fd
2 changed files with 9 additions and 3 deletions

View file

@ -70,6 +70,7 @@ def _body_digest(body: bytes) -> str:
async def _get_public_key(db_session: AsyncSession, key_id: str) -> Key:
if cached_key := _KEY_CACHE.get(key_id):
logger.info(f"Key {key_id} found in cache")
return cached_key
# Check if the key belongs to an actor already in DB