extra debug logging

status-serialisers
Marnanel Thurman 2020-09-21 18:08:48 +01:00
rodzic 9afc7dd220
commit 0eb479129f
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -156,11 +156,15 @@ def on_create(message):
) )
return None return None
logger.debug("Looking up actor: %s", fields['actor'])
poster = fetch( poster = fetch(
fields['actor'], fields['actor'],
expected_type = trilby_models.Person, expected_type = trilby_models.Person,
) )
logger.debug(" -- found %s", poster)
if 'inReplyTo' in newborn_fields: if 'inReplyTo' in newborn_fields:
in_reply_to = fetch( in_reply_to = fetch(
newborn_fields['inReplyTo'], newborn_fields['inReplyTo'],