ids: demote a couple log messages to debug

pull/1238/head
Ryan Barrett 2024-08-06 11:05:40 -07:00
rodzic 5f1a99d6cd
commit 73bb498505
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 2 dodań i 2 usunięć

4
ids.py
Wyświetl plik

@ -121,7 +121,7 @@ def translate_user_id(*, id, from_, to):
match from_.LABEL, to.LABEL:
case _, 'atproto' | 'nostr':
logger.warning(f"Can't translate user id {id} to {to.LABEL} , haven't copied it there yet!")
logger.debug(f"Can't translate user id {id} to {to.LABEL} , haven't copied it there yet!")
return None
case 'web', 'activitypub':
@ -311,7 +311,7 @@ def translate_object_id(*, id, from_, to):
match from_.LABEL, to.LABEL:
case _, 'atproto' | 'nostr':
logger.warning(f"Can't translate object id {id} to {to.LABEL} , haven't copied it there yet!")
logger.debug(f"Can't translate object id {id} to {to.LABEL} , haven't copied it there yet!")
return id
case 'web', 'activitypub':