Protocol.check_supported: don't report error, just log

pull/1167/head
Ryan Barrett 2024-07-04 22:13:28 -07:00
rodzic b606924d63
commit fa1ae889d8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -1533,10 +1533,7 @@ class Protocol:
(obj.type in as1.CRUD_VERBS
and inner_type
and inner_type not in cls.SUPPORTED_AS1_TYPES)):
msg = f"Bridgy Fed for {cls.LABEL} doesn't support {obj.type} {inner_type} yet"
logger.info(f'AS1: {json_dumps(obj.as1, indent=2)}')
report_error(msg)
error(msg, status=204)
error(f"Bridgy Fed for {cls.LABEL} doesn't support {obj.type} {inner_type} yet", status=204)
@cloud_tasks_only