[feat] process error for send note
All checks were successful
/ run-pytest (push) Successful in 43s

This commit is contained in:
SouthFox 2024-03-10 00:43:20 +08:00
parent c97581278d
commit f6b6e8c278

View file

@ -473,11 +473,15 @@ async def _send_create(
if ap.VisibilityEnum.PUBLIC == outbox_object.visibility: if ap.VisibilityEnum.PUBLIC == outbox_object.visibility:
ldsig.generate_signature(ap_object, k) ldsig.generate_signature(ap_object, k)
try:
for r in recipients: for r in recipients:
await post( await post(
r, r,
ap_object, ap_object,
) )
except Exception as e:
logger.error(e)
return True return True