kopia lustrzana https://github.com/snarfed/bridgy-fed
ids: demote a couple log messages to debug
rodzic
5f1a99d6cd
commit
73bb498505
4
ids.py
4
ids.py
|
@ -121,7 +121,7 @@ def translate_user_id(*, id, from_, to):
|
||||||
|
|
||||||
match from_.LABEL, to.LABEL:
|
match from_.LABEL, to.LABEL:
|
||||||
case _, 'atproto' | 'nostr':
|
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
|
return None
|
||||||
|
|
||||||
case 'web', 'activitypub':
|
case 'web', 'activitypub':
|
||||||
|
@ -311,7 +311,7 @@ def translate_object_id(*, id, from_, to):
|
||||||
|
|
||||||
match from_.LABEL, to.LABEL:
|
match from_.LABEL, to.LABEL:
|
||||||
case _, 'atproto' | 'nostr':
|
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
|
return id
|
||||||
|
|
||||||
case 'web', 'activitypub':
|
case 'web', 'activitypub':
|
||||||
|
|
Ładowanie…
Reference in New Issue